Reputation: 5111
I am trying to figure out what is giving me a 403 error. Details
How can tell Where it is being given a 403? Is there another place to log or another thing I can look at to figure out what is blocking it?
Upvotes: 1
Views: 2305
Reputation: 3494
To figure out the root cause of 403 error, you need to find the sub-status code first. If the request was not logged in IIS log, you could try to force IIS to return detailed error message.
<system.webServer>
<httpErrors errorMode="Detailed" />
</system.webServer>
Besides, did you bind host name for your website? If the domain is pointing to the wrong place. Then your IIS would probably not log the request. Since 403 error is returned from remote server, trace the IIS pipeline with Failed request tracing would be more helpful.
In addition, Please ensure application pool identity (IIS Apppool\) and IUSR have read permission to access the root folder of your web application.
Please also remember to check whether unrequired URL rewrite or IP address deny rule was created in Site/Server node.
Finally, remember to clean cache before trying to access the website again.
Upvotes: 2