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

Re: [cobalt-users] Reverse Lookup for Same IP Domains



> how do you get the raq2 to accept both
> www.virtualdomain.com and virtualdomain.com ?
> i have the dns setup properly cuz it works fine on our website pro 2
> box but when i put the domain on the raq box it only responds to
> www.virtualdomain.com. if i go to virtualdomain.com the main domain
> homepage comes up.

Sounds like you may be talking about Apache ReWriteRules.
When you say "main domain homepage comes up"
Is the main domain a different domain or is it www.virtualdomain.com.
Or, is it the RaQ2 server homepage?

When you enter http://virtualdomain.com
Cobalt has httpd.conf configured to rewrite the address bar in the browser to
http://www.virtualdomain.com

You can change the ReWriteRules by editing httpd.conf.

The other thing you may want to check, 
look at httpd.conf and see if their is a 
ServerAlias entry for virtualdomain.com

Gerald