2

So I think I'm going to go with WWW for a domain (this being my first personal site with its own domain and all). I got to thinking, wouldn't it be possible to move to a bare domain from www sometime in the future if I decided that's what I wanted?

It seems to me like it could be accomplished by putting some 301 redirect rules on the WWW subdomain. Am I right or wrong on this?

2 Answers 2

6

Yes, you can move in the future. And if you set up redirects for all pages, then Google etc follow those and use the new URLs.

But ideally, you should pick one model (www / no-www), and keep it. If you switch and you don't get the redirects right, or have the wrong setting in Google Webmaster Tools, then you can dilute your inbound link count. That would be bad for your search engine ranking. Additionally, if users bookmark the 'old' URL and you redirect them, then there is a (very small) performance penalty. So I would recommend picking either www or no-www and stick with it.

"www" / no-www is a topic developers have strong opinions about (and often fairly bogus arguments for / against). I have not met any typical users who cared greatly about this. My personal preference is with "www", as I think works best in brochures and other marketing materials. But no-www is also fine; they both work fine as long as you're consistent, and you redirect from the one you're not using to your preferred one.

Edit: Here is a good discussion on Stack Overflow about www / no-www, with links to good articles for both viewpoints.

1
  • Yeah, I've been reading up on www/no-www recently and there seems to be good arguments either way. Thanks for the answer.
    – Nathaniel
    Oct 15, 2009 at 23:17
1

the WWW part of your domain is just another A record in your DNS setup, so nothing really special about it.

Both Apache and IIS can redirect any incoming requests from your WWW subdomain to your bare domain without a problem. It's something you could setup now, or at any point in the future.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .