Although IIS is included in every installation of Windows 10, it’s not turned on by default. Here’s a way to install IIS on Windows 10.
Right-click on the Windows button on the bottom-left corner and select Run
In the Run dialog box, type appwiz.cpl and press ENTER.
As soon as a new window called Programs and Features is opened, click on the link Turn Windows features on or off.
Click on the Internet Information Services checkbox. By default it will install all you need to host a website. However you might want to check some other components that you might need as well. Once done, click OK and Close when it says “Windows completed the requested changes.”
Now open your browser and type in localhost and press ENTER. You should see a default web page is rendered in your browser.
That’s all there is to it and the default website directory will be in C:\Inetpub\wwwroot folder.
How to Manage IIS Remotely
How to Manage IIS Servers Remotely with WMSVC
How to Backup IIS Manager Connections List on Windows
How to Install IIS Management Console on Windows
New Features Introduced in IIS 10.0
How to Setup HTTP Strict Transport Security (HSTS) on IIS