IIS website works locally 403 when accessing from internet RRS feed

  • Question

  • User1483659879 posted

    I have setup a .NET Core Blazor site on IIS on a Windows 10 machine. I am able to access it from the local network. We have the DNS pointing to the local IP instead of the public IP. When I try to access using the public IP I get a 403 error. I have went through all of the forums and added permissions with no change. I not sure I understand why it would work locally and not when someone is trying to access it over the internet.

    I reinstalled IIS and tried to hit the default website by IP and by domain name, same thing. 403 error. I have added the everyone account and given full rights to the root folder. Still confused why it works over local network.

    Thursday, November 5, 2020 3:40 PM

All replies

  • User690216013 posted

    403 is a huge family so your next action is to learn the substatus code, https://docs.microsoft.com/en-us/troubleshoot/iis/http-status-code

    Thursday, November 5, 2020 10:18 PM
  • User1483659879 posted

    Thanks. But it turns out it was a DNS issue. Thanks for the reply

    Thursday, November 5, 2020 10:26 PM
  • User1771714573 posted

    Hi stephentrice,

    Do you mean that you can access site through local net work in local windows 10 machine, but cannot access through outside network in other machine?

    Is the DNS issue solved? If you haven't solved it, you can post it.

    Best Regards,


    Friday, November 6, 2020 2:23 AM
  • User688958925 posted
    Pointing to the local IP. This method of resolving domain names should be wrong. To deal with this situation
    Monday, November 9, 2020 2:50 AM