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

RE: [cobalt-users] Site Forwarding Issue



> 
> I have a RAQ4 and am trying to forward one of the domains 
> stored on the box to a third party website, so that it keeps 
> my domain name showing in the browser window.
> 

We do it by adding 'Include /etc/httpd/conf/include.conf' to the httpd.conf
file right before the first line that reads 'NameVirtualHost
xxx.xxx.xxx.xxx'. Then we put this in the include.conf in the same directory
(/etc/httpd/conf):

<VirtualHost xxx.xxx.xxx.xxx>
ServerName domainname
ServerAdmin admin
Redirect permanent / http://wherever.com
</VirtualHost>

Don't reboot to test, just type '/etc/rc.d/init.d/httpd restart' to restart
the httpd daemon, you'll get errors if there is something wrong. Always
backup your httpd.conf file before making the changes.

--
Robert