Jump to content

URL Masking Doubt - From a Apache Newbie


ganesan

Recommended Posts

Hello All,

 

I am a Apache newbie, currently stuck up on URL masking setting  :(.

 

I have a URL called 'abc.maindomain.com', I would like to convert it to 'anotherdomain.com'... I know the setting to redirect the URL, but I am not able to mask the URL. Can anyone please help me to sought out my doubt regarding domain masking?.

 

 

Thanks in advance. :)

 

Link to comment
https://forums.phpfreaks.com/topic/138550-url-masking-doubt-from-a-apache-newbie/
Share on other sites

So you want abc.maindomain.com to point to anotherdomain.com without redirecting?  So basically, you can do this two ways:

 

mod_proxy

 

Or, you could just change the records for abc.maindomain.com so that the domain resolves to the IP address of anotherdomain.com, and then yo would need to add a virtual host with the same web root as anotherdomain.com.

 

 

 

Just of curiosity, you do own both domains, yes?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.