The following are the steps on how to install IIS in Windows Server:

  1. Open Powershell as administrator and run the command:

        > Install-WindowsFeature -name Web-Server -IncludeManagementTools
    
    Installing IIS
  2. A World Wide Web Publishing service will be created in Services. Start up the service if it is not yet in running state.

    Installing IIS
  3. Verify IIS by navigating to localhost in the browser.

    Installing IIS