Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to make a virtual host using XAMPP 1.7.7 under Ubuntu 12.04, I followed an instruction to add a line of virtual hostname in /opt/lampp/etc/hosts. But when I search the file, the file does not exists. When I create a new one, it's still not working.

Is virtual hosts configuration has changed in some latest XAMPP versions?

share|improve this question
1  
Wild guess: Did you mix up the etc folder in the xamp folder and the one in root (/etc)? –  André Stannek Jan 14 '13 at 6:33
    
Why don't you use standard LAMP stack in Ubuntu, isn't it more convenient and configurable. ? –  Vinit Jan 14 '13 at 8:23
    
When you downloaded the package, what program did you choose to unpack it? Do you know the folder where the software was unpacked? Are there any files in /opt and /opt/lampp? –  qbi Jan 14 '13 at 8:27

1 Answer 1

The tutorial tells you to edit /etc/hosts and not /opt/lampp/etc/hosts.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.