Add IIS Features to Server
Open Server Manager
Click “Add Roles and Features”
If prompted choose “Role-Based or feature-based installation”.
Select the local server from list
Ensure this set of features is added
If you encounter an error while installing these features, such as the one shown below, you should restart the server