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

[cobalt-users] easy way to forward domain.com -> another.domain.com



Hey Guys,
I have inherited administration on a good number of raq2s, 3s, and 4s.
The former admin had been doing domain forwards (i.e- you want www.domain.com to forward to another.domain.on.raq when you access via http) by putting the domain in the ServerAlias of the desired destinations virtual domain in httpd.conf. I notice that doing things manually like that is not something that the raqs like very well :)

DNS for this domain is also done on this raq (the one in question is a raq2)
Anyway, when I add the A record and point it to the IP of the RAQ, the aformentioned hack of setting the serverAlias in the httpd.conf file won't work.

There has to be a better way to do this. I thought about adding it as a virtual site and sym linking the /home/site/directory to the /home/site/directory/of the site I want to forward to, but that sounds like a cheap hack too.

Any help is much appriciated!

p.s- I also have one raq that refuses to add virtual domains. Says, "group file is locked" (I read some posts in the archives about this, but never saw a resolution) 

Thank you,

Ashby Gochenour
OSS Engineering
NTELOS