Forum: 

LAMP Virtual Host issues (Solved)

Matt Roberts's picture

Whenever I create a new virtual host, either through Webmin or through the enabled dir directly I get the error: The requested URL / was not found on this server.

Not sure what the issue could be?

Any ideas? or is there a document that walks through setting up a virtual host? Maybe I'm missing something.

Neil Aggarwal's picture

Here is a link to the apache doc on virtual hosts:

http://httpd.apache.org/docs/2.2/vhosts/

It is always a bit tricky to get set up right.  Maybe post your apache conf file.

Matt Roberts's picture

Thanks for the link. I had the meaning of Address and Server Name backwards. I changed address to Any for both sites and changed the server name to appropriate domain. Working now! Doh! lol

Thanks.

Neil Aggarwal's picture

Im glad you find the link useful and you worked it out.  Have fun!

Post new comment