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

Re: [cobalt-users] Multiple domains for e-mail and www



On Fri, 10 Nov 2000, Lorraine Egsit wrote:

> >From Nic Rodgers
> >
> >We have www.macsurgery.com setup on our RaQ as a server. E-mail and web
> >works fine.
> >
> >They have now bought macsurgery.co.uk, macsurgery.net and macsurgery.org so
> >we need to add those to the server as well. Do I need to add three new
> >virtual sites on the raq and setup a 'forward' user on each one to direct
> >back to the main macsurgery.com domain, or is there an easier way?
> 
> Just set up Aliases (CNAME'S) pointing to macsurgery.com

It is best to avoid CNAMEs on the Raq, though. Best way to do this is set
up A records for the two extra domains.

Then in /etc/httpd/conf/httpd.conf add the following lines to the
<VIRTUAL HOST> setup for macsurgery.com:
ServerAlias www.macsurgery.co.uk  macsurgery.co.uk
ServerAlias www.macsurgery.net  macsurgery.net

To deal with email for the two other domains see:
http://list.cobalt.com/pipermail/cobalt-users/2000-October/023655.html

Regards,

Roger Harrison