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

Re: [cobalt-users] MULTIPLE SITES



reema wrote:

> I have editied the httpd.conf file and added the line:
> 
> ServerAlias website.com www.website.co.uk

That is NOT the proper format for a ServerAlias line.

Where did you add this line?

You need a separate ServerAlias line for each name.  Find the existing
line:

ServerName www.website.com

Directly under that line add a separate "ServerAlias" line for EACH
alias.  You should probably also have lines for the server names without
the "www", too, as some people type them in this way.

Like this (note I'm indenting them for readability; you shouldn't indent
them in the file):

  ServerName www.website.com
  ServerAlias www.website.co.uk
  ServerAlias www.website.net
  ServerAlias website.com
  ServerAlias website.co.uk
  ServerAlias website.net

Then save the file and restart the httpd daemon.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205