dimo414 Posted April 19, 2007 Report Share Posted April 19, 2007 I have the following in my httpd.conf file:NameVirtualHost * ##### ROOT <VirtualHost *> ServerAdmin firstname.lastname@example.org DocumentRoot /www/ ServerName localhost ErrorLog logs/root-error_log CustomLog logs/root-access_log common </VirtualHost> ##### GEMDEV <VirtualHost *> ServerAdmin email@example.com DocumentRoot /www/dev/gemdev ServerName gemdev.localhost ErrorLog logs/gemdev-error_log CustomLog logs/gemdev-access_log common </VirtualHost> This seems to be right, since I can change the document root and still be directed to /www/. However when I try to access gemdev.localhost the browser responds server not found. I'm assuming this has something to do with where subdomains of localhost are directed to, but I don't know how to change that. Any help? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.