----- Original Message -----
Sent: Saturday, January 01, 2000 2:18
AM
Subject: Re: [cobalt-users] Multiple
Domain Names on Raq 3
At 11:42 31/12/99 -0600, you wrote:
I am doing name-based
hosting on a Raq3 server. I need to have multiple domain names point to one
particular virtual site (eg. one site needs to answer to both <http://www.domaina.com>www.domaina.com & <http://www.domainb.com>www.domainb.com). A DNS cname record won't
do the trick, since there are multiple virtual sites on the server. I tried
modyifing the httpd.conf file manually, but the web control panel wiped my
edits the next time it was used. Does anyone have any suggestions on how to
do
this?
/smaller>/fontfamily>
<<<<
Wish
you all Happy New Year !
Re:Multiple Domain Names
Add the
following line in your httpd.conf file at last line
Include
/etc/httpd/conf/cnames.conf
Then create a file
/etc/httpd/conf/cnames.conf
with at least following
contents.
<VirtualHost your.ip.number.here>
ServerName
www.domainB.com
ServerAlias domainB.com
RedirectPermanent /
http://www.domainA.com/
</VirtualHost>
(you may omit the
ServerAlias if you don't need)
Now restart the web
server.
Regards,
Babu P.
Yogarajah
_______________________________________________
cobalt-users mailing list cobalt-users@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-users