Etiquette for information providers

W3C Style Guide

Why "www."?


Why does one use "" as a server name? Why not just ""?

It is a convention. I suggested it early on, in this guide, and I am of two minds about it now. An alias was a better alternative to "" which typically resulted when someone who happened to have a machine called pegasus started to run a web server for foo company. (The www prefix on a computer name also allows one to guess that it was a web server. This allowed early estimates of the numbers of servers, for example.) In those days I suggested an alias for the HTTP server in line with existing Internet practice of for the FTP server and for the smtp server, and so on. These aliases could, even if originally on the same machine, be moved to point to machines of appropriate size as necessary.

You don't have this flexibility of configuration is you point everyone at "" itself for all services. Typically early webmasters could not have comandeered the "" address itself.

Nowadays, however, the web server may be far and away the biggest service foo company has, and it might make sense to give it pride of place. Remember you can only do this with one service. You could use which is after all easier to type, even though people expect to have to type the "www".

Whatever you do, it is important not to do both. If you do both, you will halve the effectiveness of caching of your pages, as caches won't realise that the page under and under is the same. What we currently (1999) do in the W3C site it to redirect any traffic to to So if you miss out the "www." by accident or for speed, them you end up at the canonical address. I would recommend doing a forward one way or the other whichever you chose as your web site's cannonical definitive address.

(back to Etiquette)

This page was originally an answer to a question from David Maggiano <>. Thanks, David.

1992-95 Tim BL