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
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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.