I deployed my application on IIS following the instructions in https://www.youtube.com/watch?v=_LM24wOWMIU
, but on url http://demo.local
there is an error HTTP 403.14 — Forbidden
. How can I deal with it?
CodePudding user response:
You could try any of the following methods to resolve this error.
Method 1: Enable the Directory Browsing feature in IIS (recommended)
- Start IIS Manager.
- To do it, select Start, select Run, type inetmgr.exe, and then select OK.
- In IIS Manager, expand server name, expand Web sites, and then select the website that you want to change. In the Features view, double-click Directory Browsing.
- In the Actions pane, select Enable.
Method 2: Add a default document
- Start IIS Manager. To do it, select Start, select Run, type inetmgr.exe, and then select OK.
- In IIS Manager, expand server name, expand Web sites, and then select the website that you want to change.
- In the Features view, double-click Default Document.
- In the Actions pane, select Enable.
- In the File Name box, type the name of the default document, and then select OK.