Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I configured a domain on IIS 7.5 with windows 2008 r2 and put an index.html file on the inetpub/wwwroot/domain folder.

When I browse the webpage currently I´m receiving two different pages:

  • using domain.com I receive the iistart.htm welcome page.

  • using www.domain.com I receive the index.html file I created.

I create the CNAME pointing www.domain.com to domain.com in order to serve content using both addresses´s.

ADDITIONAL INFO:

When using domain.com it points to the Default Web Site created by default by IIS 7.5. I realized about that when I stopped that site.

share|improve this question

migrated from stackoverflow.com Jul 15 '11 at 18:14

This question came from our site for professional and enthusiast programmers.

    
ok I found the reason. despite that I created the CNAME on the DNS area, IIS needs to set up bindings pointing to www.domain.com and domain.com for each website. brgds –  s_h Jul 15 '11 at 6:20
add comment

1 Answer

up vote 0 down vote accepted

I found the reason. Despite creating the CNAME record in my DNS, IIS needs bindings for both www.domain.com and domain.com for each website.

share|improve this answer
add comment

Your Answer

 
discard

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.