How To: Automatically Remove www from a Domain in IIS7
I recently moved the DevMavens.com site from one server to another and needed to ensure that the www.devmavens.com domain correctly redirected to simply devmavens.com. This is important for SEO reasons (you don’t want multiple domains to refer to the same content) and it’s generally better to use the shorter URL (www is so 20th century) rather than wasting 4 characters for zero gain. My friend and IIS guru Scott Forsyth pointed me to his blog post on how to set up IIS URL Rewriting. To get started, you simply install IIS Rewrite from this link using the super awesome Web Platform Installer. You should get something like this when you’re done with the install: If you … more