To install IIS features on Windows Server 2012 (or higher),  open Server Manager.  


Under the Manage menu, select Add Roles and Features. Select Role-based or Feature-based Installation.


Select the appropriate server (local is selected by default).

On the Server Roles page, select Web Server (IIS)





Make sure the Include management tools (if applicable) checkbox is checked and click Add Features.



Click Next to continue to the Features page.



You do not need to select any additional features. Click Next to continue to Role Services page.


In addition to the default role services, make sure to select the following:

    • HTTP Redirection
    • Windows Authentication
    • IIS Management Scripts and Tools




Click Next to continue to the confirmation page.




Click Install to install IIS.