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

RE: [cobalt-users] Simple Question...pointing .net to .com



> You need to edit the httpd.conf to add the alias.  Open up the httpd.conf
> and go to the bottom of  the httpd.conf.  You will see a section
> similiar to
> the one below.
>
> <VirtualHost XXX.XXX.XXX.XX>
> ServerName www.domainname.com
> ServerAdmin admin
> DocumentRoot /home/sites/site2/web
> ServerAlias domainname.com
>
>
> To add another alias just type in
>
> ServerAlias whateverdomain.net
>
> right under the
>
> ServerAlias domainname.com
>
> And your done.


You're done, but you will need to restart httpd for the changes to take
effect. Something I always forget to do.

/etc/rc.d/init.d/httpd restart