Eliminating “www” [Part 2]
By Daniel Miessler on July 26th, 2007: Tagged as Internet | Protocols | Standards
I posted recently about why we no longer need to enter “www” when visiting websites in a browser. The topic is evidently an emotional one as I’ve received a ton of feedback on the matter. For those that missed it, here’s the basic argument:
The reason for using the “www” hostname prefix when entering websites is now a matter of history. It’s old. Deprecated. Outdated. Antiquated. Like websites that only work in Internet Explorer, sites that break when you use the domain alone should be firmly encouraged to join the 21st century. It’s wasteful to type, and it’s cumbersome to pronounce. Consider that it takes nine syllables to properly enunciate three characters.Some argue that there is still a good reason to separate traffic destined to web servers from that destined to the domain itself. I think this is precisely the idea that’s become obsolete. The reason for that differentiation in the past was that the other protocols were as prolific (or even more prolific) than HTTP at the time. HTTP was just one of many, so it made no sense at the time to give any type of traffic a preference by pointing the root of a given domain to the system that hosted that content.
Things are different now. HTTP is utterly dominant. Any site interacting with the public on any serious scale does so via a web server, so making this the default is a matter of obvious practicality. This doesn’t mean we should abolish the use of hostnames. Hostnames are excellent tools for separating traffic and making meaningful associations with users. The argument here is simply for having the root point to the web content.
Compatibility
There are four basic levels of no-www compatibility:- Your site is available via www.domain.tld only. If you use the domain alone your request will fail.
- Your site is available via both www.domain.tld and domain.tld, but www.domain.tld does not redirect to domain.tld.
- Your site is available via both www.domain.tld and domain.tld, and www.domain.tld does redirect to domain.tld.
- Your site is available only via domain.tld and www.domain.tld will break.
