Hi Matt.

Have you got a ServerAlias directive for each of these virual hosts?

If you haven't, for domain2 put

ServerAlias domain2

in your virtual host entry. Ditto for domains 1 & 3

HTH

Seb


On Tue, 2003-02-18 at 14:33, Matt Hyne wrote:
>       Folks, I have an apache problem that is probably quite simple to fix but
> I cannot find the solution.
> 
> I have set up several virtual hosts on the box and these work fine,
> however I cannot get the correct virtualhost page if I drop the
> domainname from the URL.
> 
> Eg (these are examples, so don't try accessing them):
> 
> I have the following virtual domains:
> 
> http://domain1.hyne.com
> http://domain2.hyne.com
> http://domain3.hyne.com
> 
> Now, If I use the FQDN, I get the correct pages.  However if I just use
> http://domain2 or http://domain3 then I will always get the webpage for
> domain1.
> 
> I've played around with the options and searched google to no avail.
> 
> Anyone got an ideas ?
> 
> Matt
-- 
Sebastian Welsh <[EMAIL PROTECTED]>

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to