ML2008
03-07-2002, 02:27 AM
How can I point 2 domain names to the same directory on a Raq4?
Thank you
Thank you
![]() | View Full Version : How to point 2 domains to same directory? ML2008 03-07-2002, 02:27 AM How can I point 2 domain names to the same directory on a Raq4? Thank you hypernatic.net 03-07-2002, 05:31 AM Use domain/web alias in the control panel Softerweb 03-07-2002, 05:43 AM The unfortunate effect of using web aliases on the Raq is that secondomain.com is redirected/rewritten to maindomain.com. In some cases this is a good thing, in other cases it is a drawback. -Edward- 03-07-2002, 07:09 AM log into ssh as super user scroll down to the domain you want to point to your first domain. and change the file path. if you want your second domain to map to the home site on the server do this Change - /home/sites/site4/web To /home/sites/home/web Then restart httpd.conf and your domain will be fully mapped and not just redirected. ML2008 03-07-2002, 07:55 AM How will I log in SSH? Thanks -Edward- 03-07-2002, 09:00 AM Do a search on here for "PuTTY" 311 03-07-2002, 06:02 PM Originally posted by mannylucio How will I log in SSH? Thanks First of all you need SSH, so you need to disable Telnet... jahsh 03-07-2002, 08:11 PM or you can edit your httpd.conf file, add a server alias for the maindomain and then restart apache. |