How can I make a site published on my local IIS, accessible to other PCs? [Answered]RSS

1 reply

Last post Dec 29, 2020 03:22 AM by Brucz

‹ Previous Thread|Next Thread ›
  • How can I make a site published on my local IIS, accessible to other PCs?

    Dec 28, 2020 02:44 PM|justin.jalandoni|LINK

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

  • Re: How can I make a site published on my local IIS, accessible to other PCs?

    Dec 29, 2020 03:22 AM|Brucz|LINK

    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

    .NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
‹ Previous Thread|Next Thread ›