How to Install Microsoft Internet Information Services (IIS) on Windows Server

What is IIS (Internet Information Services)?

Internet Information Services (IIS) for Windows® Server is a flexible, secure and manageable Web server for hosting anything on the Web. From media streaming to web applications, IIS's scalable and open architecture is ready to handle the most demanding tasks. -https://www.iis.net/
  1. Log into the Windows server with an account with admin privileges
  2. Launch Server Manager from the Start menu if it does not automatically load
  3. Click Add roles and features
  4. Click Next on the Before you begin screen
  5. Select Role-based or feature-based installation > Next
  6. Leave Select a server from the server pool selected and select the current Windows server > Next
  7. Check the Web Server (IIS) box
  8. A popup will appear with additional required roles and features, click the Add Features button
  9. Click Next
  10. Click Next on the Select features screen
  11. Click Next on the Web Server Role (IIS) screen
  12. Select any additional role services to include in the installation (Common HTTP Features > HTTP Redirection; Security > Windows Authentication are recommended)
  13. Click Install on the confirmation screen
  14. Leave the installation progress screen open until the install completes
  15. Once the Feature installation completes successfully, click the Close button
  16. Click the Start menu > Search for IIS > Select Internet Information Services (IIS) Manager
  17. In IIS Manager, expand the server name > Expand sites > Right click on Default web Site > Select Explore
  18. A File Explorer window will display the wwwroot folder for IIS
  19. Right click in the whitespace > New > Text Document > Name the new file default.html
  20. Edit default.html in Notepad and paste the following

    <html>
    <body>
    <h1>Hello world</h1>
    <h3>Served from IIS</h3>
    </body>
    </html>

  21. Save the changes to default.html and close Notepad
  22. Open a web browser and navigate to http://DNSorIP/default.html