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

Re: [cobalt-users] Point Multiple Domains to Primary Domain



hi David,

if youd like multiple domains to point to just one virtual site
have a look at cobald kb Q814
( cobald knowledgebase Question814)

you have to edit your httpd.conf file in the /etc/httpd/conf directory

in the file you see a section  looks similar like this:

<VirtualHost 10.9.8.73>
ServerName big.bad.net
ServerAdmin admin
ServerAlias bad.net
DocumentRoot /home/sites/site7/web
...
...
</VirtualHost>

In your situation you would look for the IP of the primary domain.
Add this to the end

ServerAlias <secondary domain>

replace  <secondary domain> with the domain you want to point to the primary
domain.
Finaly type

/etc/rc.d/init.d/httpd.init stop
/etc/rc.d/init.d/httpd.init start

as root at the command prompt to restart the web server.

thats it

_/_/_/_/_/_/_/_/_/_/_/_/
-gstrein andreas
-viva technologies
-web consultiong
_/_/_/_/_/_/_/_/_/_/_/_/