[Wolves] I'm having a few difficulties setting up an Apache virtual host

Peter Oliver p.d.oliver at mavit.org.uk
Fri Jan 10 02:22:12 UTC 2014


On Fri, 10 Jan 2014, Mike Hingley wrote:

> I'm running Ubuntu 13.10 - which ships with Apache 2.4.6.
> I've set up a virtual named host - localtuxsters.com - but it seems that
> apache is ignoring the host header and directing all traffic to the default
> host - 

A few ideas:

Did you remember to switch on name-based virtual hosting with the  NameVirtualHost directive?  Is the virtual host configured for the correct IP address/port?  Does it say anything interesting in the logs (set LogLevel debug for verbose output)?  Are you sure you're editing the right config file, and that httpd has restarted since you made the change?

-- 
Peter Oliver


More information about the Wolves mailing list