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

I have a domain that needs to redirect from to

I know this is possible, but how? It isn't automatic. What DNS records do I need to update?

share|improve this question
Are you hosting this web site by your self. Are you using apache ? – proy Mar 12 '12 at 5:27
Nope, shared hosting. – CommunistPancake Mar 12 '12 at 5:29

2 Answers 2

up vote 3 down vote accepted

Update your DNS with a CNAME record.

NAME                TYPE   VALUE    CNAME

or in your case:

NAME                     TYPE   VALUE CNAME

For more information, look at wikipedia's description

share|improve this answer

If you just want to work then just setup DNS and setup the web server to respond to that host header as well as the normal one.

If you want to actually change in the browsers URL bar to that'll require the DNS change and the web server being configured to return 301 responses along with the new URL to redirect to.

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.