If you are a developer and wish to test out a website before publishing it, or want to run an internal Content Management System (CMS) for an organization, then you need to enable IIS on the server to host it. This post shows you how to enable or disable the feature if needed, how to check its version, and for whom it is useful.
What is Internet Information Services (IIS)
As we mentioned, IIS is used to host HTML websites or static pages that can be accessed from the internet or the intranet. An IIS web server accepts requests from remote computers and then returns the appropriate response using ASP.NET. IIS works through different protocols and languages. HTML is used to create the elements, which include text, placement holders, actionable buttons, hyperlinks, etc. The ASP.NET Core framework is the latest generation of Active Server Pages (ASP), which is a server-side script engine that produces interactive webpages. When a request comes to the IIS server from the internet, it forwards it to the ASP.NET Core application, which in turn processes the request and sends its response back to the IIS server and the client who initially originated the request. IIS has been released with different versions for the different operating systems. So, to check which version is on your PC, you must first install it. However, the table below lists which IIS version is shipped with which operating system.
How to Enable IIS on Windows
Perform the following steps to enable IIS on a Windows PC: IIS will now be installed on your PC. If you no longer require it in the future, disabling it is just as easy. Simply open the Windows Features again and uncheck the IIS options.
How to Check if IIS is Installed
To confirm that IIS is installed on your computer, open any web browser, paste the following in the address bar, and then hit Enter. You should now see a screen somewhat like the one below. Note: The display can be different depending upon which version of IIS is running on your PC.IIS is installed
How to Check IIS Version
From Internet Information Services (IIS) Manager
To check which IIS version has been installed on your PC, perform the following:
From PowerShell
To obtain the IIS version using Windows PowerShell, run the following cmdlet in an elevated PowerShell instance:
From Registry Editor
You can also determine the IIS version from Windows Registry. Here is how: Note: Misconfiguration of critical values in the system’s registry could be fatal for your operating system. Therefore, we insist that you create a system restore point before proceeding forward with the process. You should then be able to see the IIS version in the data listed below the command.
Closing Words
Not everyone needs to enable IIS on their computers. We recommend you disable it if you do not need it. IIS is only required if you plan to host a website or static HTML page on your computer. That said, enabling or disabling it is a piece of cake thanks to the Windows interface. Also see:
5 Ways To Check Installed Version Of IIS In Windows4 Ways to Install Windows Optional Features Without Internet (Offline)How To Enable Copy Paste and Add Local Partitions to Remote Desktop Session4 Ways To Hide And Show The Taskbar In Windows 11/10How to Manage App Execution Aliases in Windows