Intrepid Ibex and Apache2 VirtualHost
By trent on 12 Nov in Linux
After upgrading Ubuntu to 8.10 I was upset to find out that my virtual hosts in apache no longer seem to work. Everything went to the default host. After doing a little research I found that in ports.conf they have now specified the port in NameVirtualHost:
When it use to be:
I tried changing this NameVirtualHost back to the old way but that seemed to give me more errors. The solution to this is to find wherever you have your VirtualHost declared(could be in /etc/apache2/httpd.conf or in the site’s conf files in /etc/apache2/sites-enabled) and add :80 to it like the following:
Then you just need to restart Apache:
sudo /etc/init.d/apache2 restart
Hope this helps someone out, surely helped me!