Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a personal website that I am hosting at home (using web server 2008) that works without www, but not with. Can someone PLEASE walk me through setting up CNAME, A, and what not. I have zero experience setting up iis...

share|improve this question

The thing to keep in mind is that and are two different domain names. There are 2 things to watch for.

  1. For DNS you need to have both a root name ( and www. If you're using a DNS server, enter the root node ( as an A record, and www as a CNAME pointing to your A record.

    If you're testing with your hosts file at c:\windows\system32\drivers\etc\hosts, then make sure to have 2 entries, one for each.

  2. For your website bindings, you either need to leave the Host Header blank so that it works for all domain names for your IP address, or you need to add 2 bindings: one for www and one for without.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.