how can i make the default url of my website without the 'www'

if someone enter www.mysite.com if would take him to mysite.com

just like on serverfault.com

i use iis7 and windows server 2008

link|improve this question
feedback

2 Answers

You will need to set up two separate website entries in IIS, one for www and one without. Under the directories tab, you will redirect (permanent) the www site to the URL without the www.

similar questions have been asked and answered here.

link|improve this answer
feedback

This is normally done via redirection

Most commonly the www dns entry is just a CNAME to the domain entry - although this doesn't necessarily need to be true, just a web server to redirect the request needs to be listening on that IP

link|improve this answer
feedback

Your Answer

 
or
required, but never shown