banner



How To Install Iis On Windows Server 2016

How To Install IIS In Windows Server 2016

Here we're going to show you how to install the Internet Information Services (IIS) web server version ten.0 in Microsoft's Windows Server 2016 operating arrangement.

This can be done both with PowerShell or through the GUI, we'll embrace both methods hither.

Install IIS With PowerShell

If you don't have the GUI installed or merely want to use the PowerShell control line interface (CLI) instead, follow these steps. This method is a lot faster than going through all of the GUI options.

  1. Open PowerShell with administrative privileges and run the Install-WindowsFeature cmdlet equally shown below.
    Install-WindowsFeature -proper name Web-Server -IncludeManagementTools              

    Windows Server 2016 Install IIS PowerShell

    Here we include the direction tools and then that you can manage IIS on this server, as these are generally installed when using the GUI, making this PowerShell command equivalent with the GUI method below. If yous practice not program on managing IIS through this server then y'all may adopt to not include this option.

  2. Once the installation has succeeded, you'll be returned to the PowerShell prompt. At this point IIS should exist running on port lxxx by default with the firewall rule "World Wide Web Services (HTTP Traffic-In)" enabled in Windows firewall automatically.
  3. We can perform a simple test by opening up a web browser and browsing to the server that we have installed IIS on. You should see the default IIS page.

    Windows Server 2016 IIS default web page

Install IIS Through GUI

If your server has the graphical user interface component installed you lot can also install IIS by post-obit these steps.

  1. Open Server Manager, this can be establish in the get-go card. If it's not in that location simply blazon "Server Manager" with the start bill of fare open and it should be found in the search.

    Server Manager Windows Server 2016

  2. Click the "Add roles and features" text.

    Server Manager Add Roles And Features Windows Server 2016

  3. On the "Before y'all brainstorm" window, simply click the Adjacent button.

    Server Manager Before You Begin Windows Server 2016

  4. On the "Select installation type" window, leave "Role-based or feature-based installation" selected and click Next.

    Select Installation Type Windows Server 2016

  5. As we're installing to our local machine, get out "Select a server from the server pool" with the current motorcar selected and click Next. Alternatively you can select another server that you are managing from here, or a VHD.

    Select Destination Server Windows Server 2016

  6. From the "Select server roles" window, check the box next to "Web Server (IIS)". Doing this may open up a new window advising that additional features are required, simply click the "Add Features" button to install these as well. Click Adjacent back on the Select server roles menu once this is complete.

    Select Server Roles - Windows Server 2016

    Add Required Features - Windows Server 2016

  7. Nosotros will not exist installing any additional features at this stage, and then simply click Next on the "Select features" window.

    Select Features - Windows Server 2016

  8. Click Next on the "Web Server Role (IIS)" window after reading the information provided.

    Web Server Role (IIS) - Windows Server 2016

  9. At this point on the "Select function services" window yous tin install additional services for IIS if required. You lot don't have to worry near this now as you can always come up back and add more later, so merely click Next for now to install the defaults.

    Seelct Role Services - Windows Server 2016

  10. Finally on the "Ostend installation selections" window , review the items that are to be installed and click Install when y'all're ready to proceed with installing the IIS web server.

    Confirm Installation Selections - Windows Server 2016

    No reboot should be required with a standard IIS installation, however if you remove the part a reboot will be needed.

  11. Once the installation has succeeded, click the close button. At this bespeak IIS should be running on port eighty by default with the firewall dominion "Www Services (HTTP Traffic-In)" enabled in Windows firewall automatically.
  12. Installation Progress - Windows Server 2016

  13. Nosotros tin perform a simple examination by opening up a web browser and browsing to the server that we accept installed IIS on. Yous should see the default IIS page.

    Windows Server 2016 IIS default web page

Equally you tin hopefully see, it's quite a lot faster to use PowerShell to perform the same job.

Summary

Equally shown nosotros tin hands install the IIS web server in Windows Server 2016 with both the PowerShell command line or the graphical user interface.

Source: https://www.rootusers.com/how-to-install-iis-in-windows-server-2016/

Posted by: vanburencongthed.blogspot.com

0 Response to "How To Install Iis On Windows Server 2016"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel