Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

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 thought if I removed the host name from the site's binding, like the Default Web Site, just my machine name in the URL would work, but I replaced the binding, and thought my machine name/IP address, plus the host name bound to the site, would work, but it doesn't. I would just like a colleague to have access for testing.

I am running IIS 8 on Windows 8. I have a hosts file entry with the URL host name pointing to localhost, like I always do for web sites on remote servers.

share|improve this question
Looks like your missing one step, router... port forwarding. Your IP address internally will be NAT a internal IP. You need to tell your router to forward port 80 to the internal IP. – Simon Hayter Feb 13 '14 at 11:40
up vote 1 down vote accepted

You either need an entry in the hosts file on your colleague's computer or a DNS record pointing to your computer. You can't do it based solely on the hosts file entry on your computer, because your colleague's computer doesn't (and can't) look at that file.

share|improve this answer
I have a DNS record pointing to my machine. All of us on the domain do, but just seeing my machine and not reading its hosts file is probably where it stops. I expected IIS to read the host file, but it probably gets read first to redirect back to the site on IIS. – ProfK Feb 13 '14 at 12:28

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.