Hi Everyone,
I am trying to set up a local Intranet (a local website, not file share system) and I am using IIS 7 because this is a very advanced asp.net website. I have got it working on my machine, but I cannot get it to work on any other machine connected to my network. They can all access my file share and normal network, but cannot use the IIS localhost.
I have read about changing the Hosts file, but when I try to ping localhost, I do not get a valid IP to enter in the Hosts file. I am obviously doing something wrong. Does anyone have any tips on how to do this?
Thanks,
Richard
EDIT: Have solved this problem! For those who wish to know how:
- Find out more about Localhost. There is a very good article here: localhost - Wikipedia, the free encyclopedia This will explain about the default Localhost IP. For IPv4 it is 127.0.0.1 and for IPv6 it is ::1. Pinging the LocalHost usually gives you the IPv6 ::1 IP address. You may type 127.0.0.1 into your browser, however aliased websites in other locations will NOT work.
- Set your computer with the IIS website on it to static IP.
- Type in to your browser (on any computer on your network) your now static IP, and you CAN put a forwardslash and your aliased website in other locations.
- I think you can now add this to the Hosts file to make a nice alias on any computer.
I will probably write a tutorial on this when I get around to it.


Reply With Quote