Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

Possible Duplicate:
What’s the point in having “www” in a URL?

My present DNS configuration for my website's A record is as below

Name              Value
---------------------------       67.45.xx.xx   67.45.xx.xx

In above configuration user can open website either by or by

One of my SEO team-member argues for single point access.
According to him search engine’s crawler see 2 different name with same content. It is not good and we should configure domain in such a way that if user open then browser automatically get redirected to

Now I have 2 questions

  1. Does above argument is valid?
  2. If yes then what changes I need to do in my DNS?
share|improve this question

marked as duplicate by Michael Hampton, mulaz, Magellan, Ward, Iain Oct 17 '12 at 21:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

You don't need to change DNS for this at all.. He is correct in his argument though. Google doesn't like the same content for multiple hosts. So pick which one you want to use or and do a 301 redirect from the one you don't want to use to the one you want to use.

The 301 re-direct is done with your webserver not dns. The 301 tells google.. hey.. the site now lives here.. change your links to use this url now and not the old one if it has links to both of the hosts.

share|improve this answer
Note that both and should pull up your website. Despite what Google may or may not "like", users should be able to type either and get to your site (how you redirect and map things is your call, but if you break one or the other you're shooting yourself in the foot) – voretaq7 Aug 25 '12 at 15:39
yes but google punishes domains that serve the same content under different subdomains – Mike Aug 25 '12 at 16:50
True, which is why they should implement the 301 redirect from one site name to the other, but remember that users punish domains that don't work when they type them in (and the UX folks probably have harsh words for people whose sites break just because you didn't type "www"). – voretaq7 Aug 25 '12 at 16:57

Use a CNAME record to redirect to the correct page

A record :

Then a CNAME record

* : :

share|improve this answer

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