I wasn’t familiar with how to get a website to repsond without the “www” in front, and when I went to do searches on it, I wasn’t too happy with the results. So, I am creating this entry just to remind me how to do this simple little task.
To get a website to respond to the “domain.com” and the “www.domain.com”, using Windows 2003 Server for DNS and for IIS, the following are the steps to take:
1. add a host header for “domain.com” and “www.domain.com” in IIS.
2. add an “A” record for “domain.com” and “www.domain.com” in DNS. (Note: You can use an Alias(CNAME) for the “www” entry instead of a Host(A) record, but you have to enter an A record for “domian.com”.)