'IIS Site not working when i provide hostname
I am using IIS 10. I am creating a test site and binding with no host name. (Type is http and port is 80). when I access the site using http://localhost/index.html the site is working fine.

When i add host name and add the host name in host file, site is not working
Host File entry is : 127.0.0.1 www.testmylocalsite.com
Could you please help me what's going wrong? Also i tried with user permission (IUSR and App Pool user) for the physical directory. But nothing works for me.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|



