Install and Configure IIS Web Server on Windows Server 2022

Internet Information Services(IIS) is a web server created by Microsoft. IIS web server accepts requests from remote client computers and returns the appropriate response. Web Server(IIS) provides a reliable, manageable, and scalable Web application infrastructure.

Table of Contents

  • Install Internet Information Services (IIS)
  • Configure the default site on IIS

Demo environment

  • Computer Name: server1.test.com
  • Operating System: Windows Server 2022 Datacenter
  • IP Address: 192.168.0.3

Install Internet Information Services (IIS)

Steps for Install Internet Information Services

  1. Open Add roles and features Wizard
  2. Select installation type
  3. Select destination server
  4. Select server roles
  5. Select features
  6. Confirm installation selections

1. Open Add roles and features Wizard

Open the Server Manager dashboard and click Add roles and features.

Install and Configure IIS Web Server on Windows Server 2022

Before you begin, click Next.

Install and Configure IIS Web Server on Windows Server 2022

2. Select installation type

Select Role-based or feature-based installation and click Next.

Install and Configure IIS Web Server on Windows Server 2022

3. Select destination server

Select a Host to which you’d like to add services and click Next.

Install and Configure IIS Web Server on Windows Server 2022

4. Select server roles

Choose the Web Server (IIS) box from the server roles page.

Install and Configure IIS Web Server on Windows Server 2022

As soon as you choose Web Server (IIS) a new window appears. Click Add Features.

Install and Configure IIS Web Server on Windows Server 2022

Please ensure the Web Server (IIS) option is selected and click Next.

Install and Configure IIS Web Server on Windows Server 2022

5. Select features

On the select features console, just click Next because we do not require any extra features at the moment.

Install and Configure IIS Web Server on Windows Server 2022

On the Web Server Role (IIS) console, you can read brief information about the Web Server (IIS). Click Next to continue.

Install and Configure IIS Web Server on Windows Server 2022

Click Next to continue.

Install and Configure IIS Web Server on Windows Server 2022

6. Confirm installation selections

Verify installation selections and click Install.

Install and Configure IIS Web Server on Windows Server 2022

After finishing Installation, click Close.

Install and Configure IIS Web Server on Windows Server 2022

Run Web browser and verify IIS is running normally.

Install and Configure IIS Web Server on Windows Server 2022

Configure the default site on IIS

Open the Server Manager dashboard, click Tools, and select Internet Information Services(IIS) Manager.

Install and Configure IIS Web Server on Windows Server 2022

Right-click on Default Web Site, Click Manage Website, and select Advanced Settings.

Install and Configure IIS Web Server on Windows Server 2022

In Advanced Settings, click on Physical Path to choose a different document root.

Install and Configure IIS Web Server on Windows Server 2022

Select the document root folder. (C:\website)

Install and Configure IIS Web Server on Windows Server 2022

Click OK to continue.

Install and Configure IIS Web Server on Windows Server 2022

The Default documents feature in IIS Manager helps you to specify the default files.

Install and Configure IIS Web Server on Windows Server 2022

Default Documents.

Install and Configure IIS Web Server on Windows Server 2022

Create an index.html file in the document root and Verify access with a Web browser.

Install and Configure IIS Web Server on Windows Server 2022

Scroll to Top