dj Posted June 11, 2007 Share Posted June 11, 2007 Hey I recently flattened and rebuilt my web server which was using apache. I had hoped to simple copy & paste the virtual host settings over from the old httpd.conf file to the new one. However i've come accross a problem. No matter what subdomain i type in, it always takes me to the first virtualhost set. The settings worked fine before i rebuilt the server. So im wondering if there been any changes to the way apache handles virtual hosts. Sorry if this is a stupid question. Thanks Quote Link to comment Share on other sites More sharing options...
dj Posted June 11, 2007 Author Share Posted June 11, 2007 Sorted this out, checked the logs which said "perhaps you need a namevirtualhost directive". Just added namevirtualhost 192.168.1.100:80 and all is well. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.