[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Raq550: Apache defaulting to first web site
- Subject: RE: [cobalt-users] Raq550: Apache defaulting to first web site
- From: "Networkers Web Services" <web@xxxxxxxxxxxxxxxxx>
- Date: Sun Nov 17 16:44:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi Bruce,
Thanks for your help on this one, but I'm having trouble finding the
httpd.conf file on the RAQ550. It's hiding somewhere. A quick search of
the normal directories doesn't reveal much. Anyone out there know where
the RAQ550 keeps its' httpd.conf file?
Cheers,
Andy.
-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] On Behalf Of Bruce
Timberlake
Sent: Monday, 18 November 2002 9:57 AM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] Raq550: Apache defaulting to first web site
> If we visit http://servername.domain.com.au in a web browser, it works
> fine - the servers' homepage comes up. But when we type in http:// in
> the browser, it seems to default to one of our customers' web sites
> (apparently it chooses this site, because its' the first in Apache's
> httpd.conf file / list?).
>
> I think it's normal for apache to default to the first web site in
> its' list...
First for the IP address specified, yes.
> but how can we change this so that the web site it displays is
> http://servername.domain.com.au, and not the web site of the first
> customer we added when we bought the box.
I don't have a RaQ 550 handy to doublecheck, and I know it includes
directives per domain rather than list them all out in httpd.conf...
All you need to do is move the <VirtualHost> </VirtualHost> block (or
include statement) for servername.domain.com.au to be first in the
httpd.conf file.
-- Bruce
_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users