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

On my at godaddy's page, I set a cname www to point to So if a user types in, it will takes him to

My question i how can i configure to point to That way if a user types in or, both will take him to

share|improve this question

migrated from Nov 5 '11 at 20:55

This question came from our site for professional and enthusiast programmers.

2 Answers 2

Erik's answer is correct if you just want the domains to alias each other. Although, it's better for user experience and SEO purposes to use an HTTP redirect using a .htaccess file in your web root. Or, goaddy may provide soem more user friendly means of doing this.

If not, just create a file named .htaccess in the FTP directory for with the line:

Redirect 301 /

Then anyone who has their browser visit will be redirected to - and you'll help out your search engine rankings.

share|improve this answer

Just add a CNAME on to, or to No problem...

share|improve this answer

Your Answer


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