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

RE: [cobalt-users] multi URL homes



> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Steve Nisbet
> Sent: 25 March 2003 09:36
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: [cobalt-users] multi URL homes
>
>
> Howdy folks,
> this is a situation I know I need to deal with shortly and was
> just wondering if anyone else has come across this and
> has a solution.
>
> I have a virtual server for a domain, for example
>
> www.blah.com
>
> and the client wants two more domain names to point to the same
> pages (dont ask why.... beats me, in reality they want
> about 4 domains pointing to the one)
>
> www.blah.org.uk
> www.blah.co.uk
>
> I dont think this is something to sort in the GUI, on previous
> web Apache boxes I've run I just bung a new Virtual
> server directive in with the same doc root and log files within
> that directive. However, I know Cobalts are just a bit
> more complicated than this. For instance, the links in
> /home/sites/ and the clever Mod Rewrite stuff in the httpd.conf.
>
> Do I just replicate (subtly altering) the existing Virt directive
> for each of the new domains, and also create links
> accordingly in /home/sites?
>
> This is on an XTR.
>
> thanks for comments
>
> Steve Nisbet
>


It is very easy on the RAQ.

On a RAQ4

Set up the primary site say www.blah.co.uk do not set up any other sites
just set up the DNS A records for each one and MX records if you want mail
also.
in the site settings/web server alias box for www.blah.co.uk put in
www.blah.org.co.uk, blah.org.uk, blah.com, www.blah.com etc..etc.. (it will
put the commas in if you forget and just put a space)
This will send all web traffic for any of his domains to  www.blah.co.uk and
that is what will show in the address bar not the domain they typed in.
If you want mail also then do the same thing with the e-mail server alias
box.
You need to go into control/panel/e-mail server and add any domains you want
to relay e-mail for ie any aliases you put in the e-mail server aliases (for
outgoing SMTP mail).
Also make sure all the alises you use are in the host/domains aliases box.

Don't forget to do the DNS for each alias site

www.blah.org.uk > 195.74.xxx.xxx (A Record) (IP address of primary site
www.blah.co.uk)
blah.org.uk >  mail.blah.org.uk (High Priority) (MX Record)

Also as normal add any other A records for mail.blah.org.uk or
smtp.blah.org.uk if you are going to use these instead of just
www.blah.org.uk for all servers. (don't use CNAMES use proper A records)

This should be all you need to point as many domains as you like to one
master domain record, and you never have to go to the command line ;-)

If I have missed anything I am sure someone will point it out.

Cheers
Paul.