Install and configure IIS Web Server on Windows Server

Internet Information Services (IIS, formerly Internet Information Server) is an extensible web server software created by Microsoft for use with the Windows NT family ((usually it’s used with Windows server 2008 / 2012 / 2016 / 2019 / 2022)).

IIS supports HTTP, HTTP/2, HTTPS, FTP, FTPS, SMTP and NNTP. It has been an integral part of the Windows NT family since Windows NT 4.0, though it may be absent from some editions (e.g. Windows XP Home edition), and is not active by default.

Install IIS using the graphic interface (GUI).

Open Server Manager, located on the startup menu. If it’s not there, simply type “Server Manager” with the start menu open, and it should be found in the search.

Install IIS on Windows Server using GUI

Wait for it to open, Now click on ADD ROLE AND FEATURES

Add role on IIS Windows Server 2008 / 2012 / 2016 / 2019 / 2022 WIndows 10 and 11

On The Next screen, click the Next button.

Install IIS on Windows Server windows 11

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

Select type of setup IIS on Windows Server

Select Server from servers list.

select server from the list

Click the checkbox beside “Web Server (IIS)” in the “select server roles” window. a new window will open to specify additional functions, simply click on the ‘Add Features’ button. When done, click Next Button.

server role  on Windows Server 2008 / 2012 / 2016 / 2019 / 2022
add feature on IIS  Windows Server

We won’t install additional features, so just click Next on this window.

Install IIS on Windows Server and install .NET framework

Click next button again

Web server role IIS

You can install additional IIS services Now or just click Next to install the defaults.

select role services for IIS

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

Install Microsoft IIS on Windows Server

We just finished installing IIS. Now let’s go to the setup part.

Install microsoft IIS on Windows Server 2008 / 2012 / 2016 / 2019 / 2022

Open Server Manager, select IIS, right-click the server and select IIS Manager.

IIS server manager

Right-click the Sites node in the Connections window tree and click Add Site.

add website on windows IIS

Enter a user-friendly website name in the Site Name box of the Add Site dialog box.

Enter the website’s physical path in the box or use the explore button (…) to navigate the file system. (Note: The ideal method is to create a folder in C: for your websites).

Choose the protocol for the website from the Type list.

Enter the IP address in the IP address box if the site requires a static IP address (the default is All Unassigned).

Enter a port number in the port text box.

Optionally, provide a host website header name in the host header field.

Check the Start Website check box instantly if you do not need to change the site and want it to be available right away.

Then Click OK.

add website on IIS 2008 / 2012 / 2016 / 2019 / 2022

We have now completed adding a website, you can visit it by going to http://webdemo.com.

LEAVE A COMMENT