Redirect domainA.com to sub.domainB.com

Posted by Duroth on Server Fault See other posts from Server Fault or by Duroth
Published on 2010-03-12T19:38:01Z Indexed on 2010/03/13 19:45 UTC
Read the original article Hit count: 434

Filed under:
|
|
|

Just a short and easy question, I hope. Currently, I've got a primary domain linked to my (virtual) hosting server. I now have a second domain name which I would like to link to a specific subdomain, i.e.

domainB.com/X -> subdom.domainA.com/X

Preferably without having this redirect show up in the address bar. Can this be achieved through DNS settings alone, or would it require me to add a .htaccess file in Domain A's root folder?

© Server Fault or respective owner

Related posts about .htaccess

Related posts about apache