Server Fault is a question and answer site for system and network administrators. 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'm developing a website using ASP.NET & IIS. On my dev machine I've set the site's binding to be accessible using address instead of http://localhost/mysite (by changing also the hosts file of the machine).

How can I enable access to this site from other PCs on the network using the same address?


share|improve this question

migrated from Jul 18 '11 at 3:45

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

up vote 0 down vote accepted

Not sure if you want to do this but you can make an entry in your dns or just add the entry to the host file of the other PCs too.

share|improve this answer

You can add an appropriate entry to the hosts file on each client that associates either your client IP address to the domain name (A record), works if your client has a static IP or a fixed DHCP assignment, or you can add it as a canonical name for your client domain name (CN record).

share|improve this answer

Your Answer


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