How to install and use IIS on Windows Server 2019

VPTS Team Content has been moderated
Published date:8/9/2025 Update:8/9/2025 Views:177 Reviews: 4.9/5134reviews
VPTS on

Internet Information Services (IIS) is one of the most powerful and popular web server services on the Windows operating system. With IIS, users can easily deploy app...

Internet Information Services (IIS) is one of the most powerful and popular web server services on the Windows operating system. With IIS, users can easily deploy web applications, manage hosting, and integrate SSL/TLS security for websites quickly. In this article, companyVPTSwill guide you on how to install and use IIS on Windows Server 2019 in detail from A to Z.

1. Overview of IIS

IIS (Internet Information Services) is a web server software developed by Microsoft, capable of:

  • Run internal websites and the internet.
  • Supports HTTP, HTTPS, FTP, SMTP, WebSocket protocols,...
  • Run applications written inASP.NET, PHP, orClassic ASP.
  • Easily scale and manage via interfaceIIS Manager.

With Windows Server 2019, IIS comes with the latest version, helping boost performance and security while supporting modern technologies like HTTP/2 and TLS 1.3.

2. Preparation Before Installing IIS

For a smooth installation process, you need to:

  • Windows Server 2019 installed and running stably.
  • Connect to the internet to download support packages if needed.
  • Check the firewall to open port 80 (HTTP) and 443 (HTTPS) if external access is desired.

Note: .NET Framework 3.5 must be installed before installing IIS in this tutorial

SEE MORE:Guide to Installing .NET Framework 3.5 for Windows Server 2012

3. Instructions for Installing IIS on Windows Server 2019

Step 1:Open PowerShell, right-click to run as administrator, and install IIS.

Illustration Guide to Installing IIS on Windows Server 2019
  • Copy the two commands below one by one and paste them into PowerShell:

 Install-WindowsFeature Web-Server

Invoke-WebRequest http://localhost
Illustration Guide to Installing IIS on Windows Server 2019 - step 2

Step 2:OpenServer Manager and click Add roles and features and click Next

IIS

Step 3:Click Next

IIS

Step 4:Select Role-based or feature-based installation.

IIS

Step 5:Select the host you want to add services to and click Next

IIS

Step 6:Check the box Web Server (IIS).

How to install and use IIS

Step 7:Additional features are required to add the IIS Server. Click the button Add Features > Next.

How to install and use IIS

Step 8:Click the button Next.

How to install and use IIS

Step 9:Click Next

How to install and use IIS

Step 10:This is the step to select features for the Web Server. You can select and add the features you need. In this example, default settings are kept. Naturally, you can add these features later after IIS is installed.

How to install and use IIS

Step 11:Click the button Install.

How to install and use IIS

Step 12:After finishing the installation, click the button Close.

How to install and use IIS

Step 13:Open the web browser and navigate to localhost, after which you can verify whether IIS is running normally.

How to install and use IIS

Wishing you success!!!

Notes When Using IIS

  • Regularly update Windows and IIS to increase security.
  • Use HTTPS instead of HTTP to encrypt data.
  • Restrict access IPs for internal websites.
  • Enable Firewall and Security Modules to prevent attacks.
  • Use a dedicated Application Pool for each website to enhance stability.

CONCLUSION

Through the article above, the companyVPTSprovided detailed instructions on how to install and use IIS on Windows Server 2019 from basic to advanced levels. IIS is a powerful tool suitable for enterprises deploying internal or public websites with high security and performance.

VPTS – Comprehensive Digital Infrastructure Solutions Provider

VPTS is a digital infrastructure solution provider in Vietnam, serving deployment, operation, and data storage needs for individuals, developers, and enterprises. The service ecosystem includesVietnam VPS, International VPS, VPS Anti DDoS, Hosting cPanel, dedicated server, Rack rental, Proxy IPv4/IPv6, S3 MinIOandCloud Storage.

Besides providing infrastructure resources, VPTS also focuses on assisting customers with deployment, configuration, and practical troubleshooting. Content on the VPTS Blog is drawn from common scenarios in operating VPS, servers, and online systems, helping readers understand root causes and apply clear solutions.

VPTS – Stable infrastructure, flexible solutions, and continuous partnership throughout operations.

VPTS Team Contact Information