[TriLUG] Apache serving wrong website
Paul McLanahan
pmclanahan at gmail.com
Tue Mar 11 17:38:03 EDT 2008
When I wrestled with what sounds like a very similar problem recently,
the problem turned out to be that I hadn't set Apache's ServerName
directive (the one in the main conf, not the VirtualHost) correctly,
and it was figuring out its own ServerName from /etc/hosts. That
seemed to cause it to feel that one certain subdomain was the same as
my default domain, even though I had a separate VirtualHost stanza for
it.
hth,
Paul McLanahan
More information about the TriLUG
mailing list