[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Qube3 serving more than one domain?



On Wed, 13 Mar 2002, Benedict wrote:
> 
> Let's say my Qube has IP 213.84.27.81, the DNS for my domain name
> points to this IP and then http://213.84.27.81 is the home/web dir,
> but what do I do to have two more domains on it ?
> Do I simply point DNS to 213.84.27.81/~userdir or something?
> (I don't want to use cloaking or stuff like that,
> I need to have entirely separate domain-serving,
> with an actual root webdir.
> When using a virtual domain in the httpd.conf,
> does the root domain still work as before?

Yes

> How does Apache on the Qube determine what name has which doc.root
> if they all point to the same IUP-address ?
> Perhaps I should look for this in Apache docs, sorry..

Each <VirtualHost> container has a RootDirectory entry.
Apache will find the requested domain (<VirtualHost> container)
and then the correct RootDirectory
Yes, do read the Apache Docs
I only suggested the RaQ upgrade, as all this stuff is done auto
on a RaQ
Your changes may  be wiped out by cobalt patches
so use an include file for your new virtual host.

--
Gerald Waug