troubleshooting Question

Redirect URL Question

Avatar of swhitlow
swhitlow asked on
Apache Web Server
2 Comments1 Solution528 ViewsLast Modified:
Hello. I am kind of new with the apache thing so please bare with me. I have a domain hosted on a VPS that I have full access to. I have the domain name going to the correct place. However, I have added a second domain name and I need the domain called to go to a subdirectory of domain1. Does this make sense? My directory structure is /home/webadmin/domain1/

So I assume I need an .htaccess file in that subdirectory telling it what to do. Am I correct?

Also, I need it to "mask" the url. In other words, when the user types in it will go the subdirectory of domain1/domain2. However, in the users internet browser it needs to read "". Not "".

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros