locked
How can I make a site published on my local IIS, accessible to other PCs? RRS feed

  • Question

  • User-187020391 posted

    I would like people not in my local network access the site I deployed on my local IIS.

    Monday, December 28, 2020 2:44 PM

Answers

  • User1771714573 posted

    Hi justin.jalandoni,

    Whether people's machines and IIS machines are in same work, they can access the site through IP+port.

    For exmaple, one of sites binds to localhost:8080, people can access it through http://xxx.xxx.xxx.xxx:8080. 

    If you want to access it through host name not IP, you need to buy a public domain and bind to site. Then access site through http://domain:8080.

    If people's machines and IIS machine are in same WLAN, you donot need to buy a public domain and set domain and IP in hosts file of people's machines.

    xxx.xxx.xxx.xxx domain

    Set hosts file of IIS machine

    127.0.0.1 domain

    Best regards,

    Brucz

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Tuesday, December 29, 2020 3:22 AM