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

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

We have a website that is a subdomain of our primary domain, such as The official URL of the website is, but some people keep referring to it as I have a redirect rule in place to redirect to, but I ultimately need to explain why is bad practice (or is a bad idea), but I don't know how. Are there any guidelines or rules that dictate best practices with regard to domain names, specifically this case?

share|improve this question
up vote 4 down vote accepted

There is no real right or wrong answer to this question, it's purely down to personal preference.

The WWW prefix originated to specify web servers, for example you might have,, etc. just became the standard for web sites, however it's not, and has never been required. As an interesting read, Heroku (Cloud Ruby Rails hosting) recommends using the WWW prefix ( but that's for reasons to do with cnames etc.

There is no hard or solid reason to, or to not, use the WWW prefix. Yes you could say not using it reduces your data transfers by a few bytes (HTTP Host header, cookies, absolute links) but you should always give both options. If you prefer no www. then set up a redirect to the main domain. The only consideration is canonical URLs (Google will see and as two separate sites, so it's generally good to redirect one to the other).

share|improve this answer
I was afraid of that. I personally think if there is a subdomain, leaving off "www" looks right. – churnd Jun 3 '11 at 13:30

You could always direct enquirers to No-WWW.ORG, the organizers of which make the rather pithy point that one addresses mail to not so why should URLs have rôle domain name labels.

This is what the www. label is, of course: a rôle label. It isn't actually necessary to use rôle domain name labels for services such as mail, FTP, and the WWW. They are superfluous and ambiguous. ( may or may not have WWW service, for example.)

A halfway house, that retains the rôle name, is to make work like and that is what most people do. (Note that the canonical way of doing this, as given, does not involve client-side HTTP redirects, and concerns about redirects are actually irrelevant.)

Of course, in an ideal world (as envisaged by Jim Nelson and many others), the WWW would have been brought kicking and screaming into the 21st century, instead of the WWW being the one shameful laggard, and such rôle names would be obsolete.

share|improve this answer

It depends on your audience as well. If you seek to reach Mr. and Mrs. everybody, then you should use with www. The reason for this is that they will most likely always enter the website WITH www into their browser. If they have a blog or something like that, and they link you without copy/pasting the link, they will also most likely use the site with www.

In terms of SEO that means that they will link Google (and any other search engine) to the actual content instead of linking to a redirect.

Google follows a redirect. But the count of in links is based on the URL. If you use www, then most people should link you to the correct URL to begin with.

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.