Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an old domain, and now I have shifted my content to Both of the domains are residing in the same root folder on a sharehost.

I use CPanel to manage them.

Now, when the user types in, I want it to be redirected to, with the address bar showing How can this be accomplished?

I tried to use "redirects" feature in Domains list, and although I could get the redirection, but the address bar showed, not

share|improve this question

closed as off-topic by HopelessN00b, Ward, masegaloeh, MadHatter, bangal Feb 24 at 10:40

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

Sounds like you would need to setup a CNAME for to make it an alias for This help file from Google Apps has information about setting up CNames on popular domain registrars.

share|improve this answer

You need to remove any redirects use cPanel's parked domains feature:

Alternatively, you can use Greg's answer, but that's assuming you are on a dedicated IP or you have a vhost entry setup (parked domains do this for you) for

share|improve this answer

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