Entry
If I have a domain name, say DOMAIN.COM, how do I go about redirecting SOMEWHERE.DOMAIN.COM to somewhere? i hav access to my .htacess, but thats all.
Aug 1st, 2004 09:20
Cinley Rodick, Thomas Bader, null, http://www.generalforums.com . http://www.generalforums.com/yellow/
You cannot do this only using .htaccess. You must have access to your
sites httpd.conf and to the DNS zone files (to create
SOMEWHERE.DOMAIN.COM).
If you have access to the httpd.conf, just set up a new VirtualHost
called SOMEWHERE.DOMAIN.COM which looks something like this:
<VirtualHost SOMEWHERE.DOMAIN.COM>
ServerName SOMEWHERE.DOMAIN.COM
Redirect permanent / http://other.host/
</VirtualHost>
Maybe you can tell your ISP to do so?