We want to mask the URL displayed on the ADDRESS BAR. For example say.. I want to redirect the domain name ABC.COM to say XYZ.COM but I want to show the URL ABC.COM on the ADDRESS BAR instead of XYZ.COM.
Here are the actual details. We have a very long URL (eg. http://example.site.com/purdue/sales
). We decided to purchase a Domain Name www.sales.org
from a hosting site so the idea is for people to go to www.sales.org
and it will do a URL Forwarding and Masking to http://example.site.com/purdue/sales
. But people will always see www.sales.org
on their URL.
We have tried adding the code below on the /etc/httpd/conf file where the VirtualHost directive resides but its affecting every directory on the site returning 500 Error
. I am not well versed in dealing with apache configuration but I am guessing the '*' is causing the problem.
How can I modify this so it only affects the indicated site or directory above?
Can anyone help?