[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Raq4 - Redirect domains
- Subject: Re: [cobalt-users] Raq4 - Redirect domains
- From: "cbtrussell" <cbtrussell@xxxxxxxxxxx>
- Date: Thu Aug 30 10:06:31 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> Setup DNS records for all sites using the same IP address as the site you
> want to point to. Then in the Web Alias field in the GUI add the sites as
> follows:
>
> www.domain1.tld., www.domain2.tld.
>
> and save the site record. What this does is adds the following lines to
the
> VirtualHost container for the destination site in httpd.conf"
>
> ServerAlias www.domain1.tld
> ServerAlias www.domain2.tld
>
> which is something you can manually if you prefer. Incidentally on
> all-but-very-ancient versions of Apache you can write this as:
>
> ServerAlias www.domain1.tld www.domain2.tld
Thanks Steve, great tip. Would this work:
A record: www.domain1.tld > target.ip.address.here (for IP based site)
or
CNAME www.domain1.tld > www.targetdomain.com (for name based site)
??
Is any method better than the other?
Thanks
Brandon