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

Re: [cobalt-users] Raq3i - Parking 8 domains and pointing to one site



Alfredo <alfredo@xxxxxxxxxxxxxxx> wrote:
> <VirtualHost 209.196.44.64>
> ServerName www.mainsite.org
> ServerAdmin admin
> DocumentRoot /home/sites/site6/web
> ServerAlias secondsite.org
> ServerAlias www.secondsite.org
> ServerAlias thirdsite.org
> ServerAlias www.thirdsite.org
> ServerAlias fourthsite.org
> ServerAlias www.fourthsite.org
> RewriteEngine on
>
> and about 8 more alias lines and the rest of the config file.
>
> Will THAT cause server problems? Is that the best way to configure
> this alias list? Is there some other way that's safer and more
> efficient?

The method you describe above is the method I use.  Works fine.  FYI, Apache
allows you to specify multiple hosts in a ServerAlias directive.  I usually
double up to cut the number of lines in half:

ServerAlis thirdsite.org www.thirdsite.org

--
Steven Werby {steven-lists@xxxxxxxxxxxx}