Windows Server 2016 and above
To install, open the Windows Control Panel and select Programs and Features.
Select Turn Windows Features on or off to display Server Manager. Select Add Roles, Server Roles, then check Web Server (IIS).
Expand Web Server, Common HTTP Features and make sure the following items are checked:
Default Document
Directory Browsing
HTTP Errors
Static Content
Expand Health and Diagnostics and make sure the following items are checked:
HTTP Logging
Request Monitor
Expand Performance and make sure the following items are checked:
Static Content Compression
Expand Security and make sure the following items are checked:
Request Filtering
Expand Application Development and make sure the following items are checked:
ASP.NET (4.x)
.NET Extensibility (4.x)
ISAPI Extensions
ISAPI Filters