How do I use an .htaccess file to route www.domain1.com to www.domain2.com/domain1/ ?
I have a subfolder on my primary account called domain1, and I bought domain2, and I want to send domain2.com to the subfolder on domain1.
Alias /domain1.com /domain1
doesn't work if placed in the root of domain2.com. That was my first guess. My hosting company says they writet .htaccess files for their clients but that this is the way to do the job. Damn cryptic frustrations they are!
I am on an Apache/DirectAdmin server. DirectAdmin's domain forwarding service doesn't support forwarding to a subfolder.
Help?
I have a subfolder on my primary account called domain1, and I bought domain2, and I want to send domain2.com to the subfolder on domain1.
Alias /domain1.com /domain1
doesn't work if placed in the root of domain2.com. That was my first guess. My hosting company says they writet .htaccess files for their clients but that this is the way to do the job. Damn cryptic frustrations they are!
I am on an Apache/DirectAdmin server. DirectAdmin's domain forwarding service doesn't support forwarding to a subfolder.
Help?