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

RE: [cobalt-users] domain aliases



First are you using name based virtual hosting? (do they all point to 1 ip)
If so you need to do this:


Do NOT creat domain1 in the gui.
Create domain2 in the gui
edit /etc/httpd/conf/httpd.conf

Look for this line in the section of domain2

ServerAlias domain2

add the following after domain2 www.domain1.com domain1.com

so it should look like this:

ServerAlias domain2 www.domain1.com domain1.com


Then when someone requests domain1 they will end up on domain2


Hope this helps.

Mark

-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of RHLinux- WHN
Sent: Sunday, February 27, 2000 6:55 AM
To: Cobalt-Users@xxxxxxxxxxxxxxx
Subject: [cobalt-users] domain aliases


i checked out the archives, maybe i didnt look hard enough

1. how do i setup domain1.com to point to domain2.com

2. can i setup domain.com to point to domain2.com/directory

I tired setting a CNAME but it didnt work, maybe i did it wrong

______________________________
Regards,

Gary Peltola
Web Hosting Network
gary@xxxxxxxxxxxxxxx

______________________________


_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-users