[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: overlapping virtual hosts



"Mathco Tech. Dep" wrote:
> 
> Hi
> Has anyone ever encountered this problem before
> when adding virtual hosts to /etc/httpd/conf/httpd.conf
> 
> [warn] VirtualHost www.gatewalker.com:80 overlaps with VirtualHost
> test.eeriestudios.com:80, the first has precedence, perhaps you need a
> NameVirtualHost directive
> 
> The two domains are directed to the same ip adress.

That's your answer. You can't have an IP based Virtual Hosting Solution
and two domains share the same IP address. You need to use named based
virtual hosting.

See here for more info:

		http://www.apache.org/docs/vhosts/examples.html
--
Anthony Baratta



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]