crownpack
asked on
Multiple Domains on one server need help properly redirecting
I have two domains, domain1.com and domain2.com.
Currently, domain1.com is fully functioning and working great. The site is located in a subfolder of the root of my server. domain2.com is currently parked at the root of my server.
I need to get domain2.com to point to the same subfolder on my webserver as domain1.com. I would use an htaccess redirect, but I want the URL shown in the address bar to be domain1.com or domain2.com. I want the URL to reflect what the user typed.
I don't have DNS control over my site, so any non-DNS methods would be helpful, but I can work with support to make DNS changes.
The server is a linux box with Lunarpages.
So how can I get domain2.com to point to the same place as domain1.com and maintain the name used to get there in the address bar?
Currently, domain1.com is fully functioning and working great. The site is located in a subfolder of the root of my server. domain2.com is currently parked at the root of my server.
I need to get domain2.com to point to the same subfolder on my webserver as domain1.com. I would use an htaccess redirect, but I want the URL shown in the address bar to be domain1.com or domain2.com. I want the URL to reflect what the user typed.
I don't have DNS control over my site, so any non-DNS methods would be helpful, but I can work with support to make DNS changes.
The server is a linux box with Lunarpages.
So how can I get domain2.com to point to the same place as domain1.com and maintain the name used to get there in the address bar?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER