Forum Moderators: phranque
I have the following in .htaccess:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^my\.anotherdomain\.com
RewriteRule (.*) /subdir/ [R=301,L]
But this shows [maindomain.com...] in the address bar. Is there a way to keep the [my.anotherdomain.com...] in the address bar, but point to [maindomain.com...] [my.anotherdomain.com...] DNS points to IP of maindomain.com. HTTP_HOST contains my.anotherdomain.com.
Thank you,
JC