httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: [users@httpd] Newbie question .. please help
Date Mon, 15 Sep 2003 04:50:24 GMT
(plain text, please)

I don't know if you solved it, but couldn't see any concluding post, so...

Winanjaya wrote:
> Hi.. It works already .. but I met different problem now, :  the main
> domain is and the additional domains are
> and .. my problem is why it always open site if I
> open the main domain ( .. ?

Obviously it didn't work, right?

This behaviour is because when Apache gets a request and it cannot match it
with a VirtualHost it will (generally) default to the first defined
VirtualHost. In your case, it's likely that Apache cannot match neither nor, but as the former happens to be defined
before the latter, it always shows.

It can be due to numerous reasons. If you post the relevant portion of your
config, eg. these directives/blocks:
- Listen
- NameVirtualHost
- <VirtualHost>
... I'm sure we can help you.

Robert Andersson

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message