Forum Moderators: bakedjake

Message Too Old, No Replies

Apache Virtual Domain redirect

         

nadsab

5:53 am on Apr 9, 2003 (gmt 0)

10+ Year Member



Hi,

I've got a virtual domain that I need to re direct to another domain. I'm running RH Linux 7.3 and Apache 1.3.27. From my apache httpd.conf, my Virtual Host tags for the domain I want to redirect are:

<VirtualHost 111.111.111.111>
ServerName www.dummydomain.com
DocumentRoot /home/dummydir/html
</VirtualHost>

<VirtualHost 111.111.111.111>
ServerName dummydomain.com
DocumentRoot /home/dummydir/html
</VirtualHost>

What command do I need to place in my virtual host tags to do this? Also do I need to place a command in the host tags of the other domain I want to re direct to? The domain I want to redirect to is not a virtual host, it is an IP based host.

Thanx.

eaden

6:23 am on Apr 9, 2003 (gmt 0)

10+ Year Member



Please don't crosspost.
an answer is on the other copy of this post at
[webmasterworld.com...]