Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I need a hardcore programmer to help me with URL masking.

So this is my situation.

  1. My website is the main site that needs to be configured.
  2. I have another website/webhotel called
  3. is redirected to
  4. The blog is an ongoing project where i post a lot of stuff to get my ranking higher on google.
  5. which redirect to is also a project on is own, so I do not want people to know, that it is a blog connected with
  6. I therefore need to mask so it will be called in the URL in the searchbar at all times!

How can I do this?

share|improve this question

1 Answer 1

Your host at will need to support Addon (multiple) domains (as it is called in cPanel).

  1. In cPanel (for, setup as an Addon domain, pointing to
  2. Change the nameservers for to point to the DNS at
  3. Remove the redirection from to
  4. Redirect to in order to prevent the user accessing the same content from different URLs (duplicate content).

.htaccess is only required to perform the final redirect, in order to prevent duplicate content - it is not necessary to perform the URL "masking".

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.