[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] MULTIPLE SITES
- Subject: Re: [cobalt-users] MULTIPLE SITES
- From: Kris Dahl <krislists@xxxxxxxxxxxxx>
- Date: Tue Jul 25 09:44:50 2000
> 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.
Nope... that's not necessary. Check
http://www.apache.org/docs/mod/core.html#serveralias
You can put them all on the same line.
But you are right that it needs to be directly under the ServerAlias (or
somewhere in that <VirtualHost></VirtualHost>
-k