Web Hosting Talk







View Full Version : Cname and domain redirect


joubarani
06-20-2001, 11:02 AM
Hi,
I have cobalt raq 4i and I have several virtual hosts.
I want to let my domain yyy.com opens the same site as the domain xxx.com and I read about achieving that woth cname but it didn't work. Is there anyway to do want without modifying the httpd.conf manually? I want to do it exclusively using the control panel function, any help?
Thanks in advance,
:confused:

Chicken
06-20-2001, 01:42 PM
The common way would be to enter, in the web aliases field in the site settings of xxx.com:

www.yyy.com yyy.com

-this is probably what you are looking for. DNS yyy.com to have the same IP address as xxx.com

Other ways:
if xxx.com uses a dedicated IP address, you can point yyy.com to that IP address. If not a CNAME should work I'd think. In yyy.com's zone file:

www CNAME www.xxx.com
CNAME xxx.com

Blank CNAMES might not work, never had to do it myself.

You can also create a symbolic link so it goes to the /web folder of xxx.com