Web Hosting Talk







View Full Version : Is this possible??


C.P
12-21-2001, 09:49 AM
Is it possible to have 2 domain names pointing to and sharing one account on a cobalt raq??
Domain name A & domain name B. Domain name A is the main account. Domain B is currently just a forwarding url right now or acts like a forwarding url pointing to domain A. Everytime someone types in domain B it switches to domain name A immediately after loading up the site.
Is there anyway to make or prevent domain B url from switching to domain A url after loading up the site?? Basically have both domains keeps it own identity even though they both point to the same site. It's kind of annoying having domain B switch to domain A everytime after typing in domain B in the url addy box.

Chicken
12-21-2001, 10:21 AM
This is due to some rewrite rules in httpd.conf. I believe you can comment these rules out for this particular domain and I *think* (ie: don't hold me to this), that the cp will not overwrite these changes. Have to ask someone who has tried it however...

C.P
12-21-2001, 11:04 AM
So does anyone know for sure??

nudetravel
12-21-2001, 11:54 AM
The best way to do it would be to modify the document root in the httpd.cof file as outlined in this post:
http://www.webhostingtalk.com/showthread.php?s=&threadid=23671&highlight=document+root . Be sure and read the whole thread as the initial instr contain some errors!!

That will keep your domain name in tact as long as your internal links relate to the doc root and not the absolute URL (in other words, your links are formatted /somedir/file.htm and not http://www.mydomian.com/somedir/file.htm) .

Merry Christmas everyone!!

C.P
12-22-2001, 05:58 AM
LOL.:D Reading that thread gave me a headache.
Can you cut the fat and paste for me what should be modify in the document root in the httpd.cof file as outlined in that post??
In all honestly I'm still clueless as before when reading that thread.:bawling:

NewonNet
12-22-2001, 07:12 AM
I think you can do this very easily by adding a domain alias in the GUI. Add domainB to the alias field for domainA.

Chicken
12-22-2001, 02:05 PM
It would have to be a RaQ4 for him to do this (might be I don't know), however this still wouldn't (keep reading...)
prevent domain B url from switching to domain A url after loading up the site