Webmasters Stack Exchange is a question and answer site for pro webmasters. 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

Couldn't think of a more decent question title, sorry.

Basically, I have 3 domain names:


The website is actually hosted at the .co.uk address, using nameserver addresses. What is the best way to deal with the two top-level domains. Do I add the same nameserver addresses to them, so all point at the same place? Or do I do a permanent redirect through my domains control panel? Or do I add a redirect in my windows IIS7 web.config file.

What I don't want, in Google listings, is all three domains listed. I just want .com or .net listed, but when visited, it goes to .co.uk site.

Any help or suggestions gratefully received.

share|improve this question

migrated from serverfault.com Jul 15 '12 at 20:15

This question came from our site for system and network administrators.

For search engine optimization purposes, you will want to pick one of your domains to be canonical, and use 301 (permanent) redirects on the others.

share|improve this answer

We have the same situation but then for 2 situations. (.com/.nl) we have chosen to make the .com leading and we have created redirects to always land the user on the ourdomain.com page. (this is a choise of course!)

this means we have one website which has binding for ourdomain.com (main website) for all other options (we've chosen to also deal with use of www. or not) we created a separate website. This website redirects traffic for the following bindings:

  • www.ourdomain.com
  • ourdomain.nl
  • www.ourdomain.nl

if any of these requests come in they are redirected to: ourdomain.com address. This way in google we always get the same domain usage listed.

I'm sure there are more ways but this is how we do it. Have a good one.

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.