Installation Of Web Server IIS Internet Information Services

Опубликовано: 18 Август 2026
на канале: Z-LIMIT'S
50
1

Steps to install and configure IIS
The following is how to install IIS on a server running Microsoft Windows Server 2012 R2, Microsoft Windows Server 2016 and Microsoft Windows Server 2019.

These are the steps for how to install IIS using the Server Manager:

Press the Windows key and select Server Manager.
In the Server Manager dashboard, click manage add roles and features.
Click installation type.
Select the role-based or feature-based installation option and click Next.
Select the server on which IIS will be installed and click Next.
Activate the Web Server (IIS) Role.
Click Add Features to add the IIS Management Console.
Click Next: the SelectFeatures window will open.
Click Next: the Web Server Role (IIS) window will open.
Click Next: the Select Role Services window will open.
Select the required role services and click Next.
Click Install to install the selected roles, role services and features.
Click Close to complete the installation.
The following are the steps for how to install IIS in the PowerShell:

In the search, type PowerShell, and then click Windows PowerShell
In Windows PowerShell, type the following command: Install-WindowsFeature -name Web Server -IncludeManagementTools
Press [ENTER].
The following are steps for how to configure IIS using the Server Manager:

Go back to the Server Manager and select Internet Information Services (IIS) Manager from the Tools menu.
Click Add Website
Specify at least the site name and path. Click OK.
The first site is ready to be accessed.
When IIS is installed, it’s preconfigured to serve as a default website. However, to change the basic settings for the website:

Log on to the Web server computer as an administrator.
Click Start, point to settings, and then click Control Panel.
Double-click Administrative Tools, and then double-click Internet Services Manager.
Right-click the website to be configured in the left pane, and then click Properties.
Click the website tab.
Type a description for the website in the Description box.
Type the Internet Protocol (IP) address to use for the website or leave the All (Unassigned) default setting.
Modify the Transmission Control Protocol port as appropriate.
Click the Home Directory tab.
To use a folder on the local computer, click A directory on this computer, and then click Browse to locate the folder that you want to use.
To use a folder that has been shared from another computer on the network, click A share located on another computer, and then either type the network path or click Browse to select the shared folder.
Click Read to grant read access to the folder (required).
Click OK to accept the website properties.
Follow these steps to create a new website in IIS:

Log on to the web server computer as an administrator.
Click Start, point to Settings, and then click Control Panel.
Double-click Administrative Tools, and then double-click Internet Services Manager.
Click Action, point to New, and then click website.
After the website Creation Wizard starts, click Next.
Type a description for the website. (This description is used internally to identify the website in Internet Services Manager only.)
Select the IP address to use for the site. Selecting All (unassigned) will make the website accessible on all interfaces and all configured IP addresses.
Type the TCP port number to publish the site on.
Type the Host Header name the real name that is used to access this site.
Click Next.
Either type the path to the folder that’s holding the website documents or click Browse to select the folder, and then click Next.
Select the access permissions for the website, and then click Next.
Click Finish.