Website Tip #326

It still amazes me how many server admins fail to properly configure their web servers and dns so that works just as well as

On the other hand, there is a whole group of people who think that the ‘www’ is absolutely required, and even if you tell them to go to, they will go to, so make sure you set that up as well. It’s easy in Apache, just add a ServerAlias like so:


A simple fix, and hopefully it will help prevent having to explain to people that you don’t need to type the ‘www’ part, just let them do it, it’s easier to fix things on the server than in people’s brains.

(And if you can’t make this fix on your server yourself, ask whoever maintains your server to make it for you.)