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

Re: [cobalt-users] domain pointing at directory of another site



on 4/9/02 6:09 AM, Gerald Waugh at gwaugh@xxxxxxxxxxxxxxxxxxxxxxx wrote:

> On Tue, 09 Apr 2002, Andy Jacobs wrote:
>> I know that this has been covered and I thought I had found the answer here:
>> 
>> http://list.cobalt.com/pipermail/cobalt-users/2001-July/047557.html
>> 
>> The general idea is that I have www.sitea.com and I want it to point at the
>> the same web space as www.siteb.com
>> 
This is a Raq3 how to for multiple domains to 1 virtual site that I found
earlier.

If you want to point multiple domains to one virtual site on a RAQ3, you
can¹t based on the web interface, you¹d need to create separate entries,
however in the /etc/httpd/conf/httpd.conf you can find the VirtualHost entry
and add the other domains into the ServerAlias directive. However, if you
add it to the existing one, you¹ll find your web interface falls over flat.

Create a second ServerAlias below the first one and add your entries in
there, and all will be well. Apache webserver doesn¹t mind the
multi-entries, and the web interface just ignores the second one (they won¹t
appear in the web interface, but will work)