[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: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Mon Sep 3 13:29:25 2001
- Organization: Befriend Internet Services LLC
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"cbtrussell" <cbtrussell@xxxxxxxxxxx> wrote:
> > 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)
An A record will work for name-based hosting and IP-based hosting. A CNAME
will require an extra DNS lookup. A CNAME is better should you need to
migrate domains to a new IP later.
> Is any method better than the other?
Brandon, I'd stick with an A record since I know it works on a RaQ. There
are other things to consider, but IMO an A record is the way to go. Someone
else may suggest differently.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/