horoscopes2000
09-04-2002, 04:24 PM
Hi people,
How do I make www.site1.com and www.site2.com both point to www.site1.com on my RaQ3? Both are on the same IP address, but there are other independent sites which are also using the same IP.
cbtrussell
09-04-2002, 08:24 PM
Easy - add www.site2.com to the web server alias field in the site settings. Make sure there is an A record in your DNS pointing site2 to the site1 IP.
Brandon
horoscopes2000
09-04-2002, 09:15 PM
Forgive me for being a simpleton, but I can't seem to find any alias settings anywhere in the site settings for the virtual domains.
horoscopes2000
09-04-2002, 09:37 PM
Ah ha! Apparently doing this needs httpd.conf to be edited.
I followed these instructions and it worked fine :
For the domain thing :
http://www.uk2raq.com/raqfaq/raqfaqshow.php?faq=76
To make email go to site1
http://www.uk2raq.com/raqfaq/raqfaqshow.php?faq=77
cbtrussell
09-04-2002, 10:50 PM
Web Server Alias can be found under site settings. (It may be labeled slightly different on a RaQ3). There is no need to edit httpd.conf directly in this case, as it accomplishes the same thing. E-mail is slightly more difficult, and is best handled manually in a manner like you link to above.
Good luck,
Brandon
---
edit: sorry, brain dead: alias entries weren't introduced to the CP until the RaQ4. Sorry about that :)
D8Mike
09-05-2002, 02:59 AM
This can be accomplished by not adding www.domain2.com to the Control panel.
www.domain1.com must be Static IP.
Add www.domain1.com to the control panel and set up the site as you want it. To direct www.domain2.com to this site simply add it to the DNS control panel with the IP allocated for www.domain1.com .
Also You can use .htaccess to redirect a domain to another or to certain subdomains or folders.
Otherwise the manner you took is the only other alternative I know of.
Raq4i however comes with a alias slot in the control panel site settings when setting up www.domain1.com.