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'm developing a website using ASP.NET & IIS. On my dev machine I've set the site's binding to be accessible using www.mysite.com 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?

Thanks!

share|improve this question

migrated from stackoverflow.com Jul 18 '11 at 3:45

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

2 Answers 2

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 www.mysite.com 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

 
discard

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