[plug] wierd virtual domain problem

Matt Kemner zombie at networx.net.au
Wed Nov 4 08:57:49 WST 1998


On Mon, 26 Oct 1998, Peter Caffin wrote:

> www.ptcc.it.net.au is a virtual domain off monster.ptcc.it.net.au.
> Any time I try to get www, I get www. Any time I try to get monster,
> I get www. Very annoying. Anyone experienced this one and know of a fix?

I have experienced this problem (apache defaulting to the first
VirtualHost entry rather than the "main" host) before, usually when apache
couldn't resolve it's "ServerName" (from httpd.conf) to an IP on the local
machine.

Fixing the DNS or /etc/hosts file and restarting apache usually fixed the
problem.

 - Matt



More information about the plug mailing list