How to do it...

  1. Open the Server Manager on Windows Server 2016. Click on the Tools menu and open IIS Manager.
  2. Expand the IIS server (WIN2016IIS). We get the listed Application pools and Sites folders.

 

 

  1. Expand the Sites folder under the Connections panel, click on mysite.com, and you will see the Actions panel in the top right corner, under which you will see the Edit Permissions... option for VirtualDirectory.
  2. Click on Edit Permissions..., and you will get the properties of VirtualDirectory. These are the physical folder properties. Go to the Security tab and click on Edit.
  3. Find the IUSR user and IIS_IUSRS group and add them to the Security tab. Click on the default permission boxes for Read & execute, List folder contents, and Read ...

Get Microsoft IIS 10.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.