If you’re using Windows 8, 10, or 11, you can install IIS on your computer by following these steps:
- Open the Start screen and type “cmd” into the search bar.
- Type “IIS” into the command prompt and hit enter.
- The IIS installation will start and take a few minutes to complete. Once it’s done, you’ll see a message saying that it’s installed successfully.
- If you’re using Windows 8 or 10, you can now access IIS from the “IIS Manager” tool in the Control Panel. If you’re using Windows 11, you’ll need to use the “IIS Manager” tool in the Administrative Tools folder to access IIS.
One of the first things Web Developers using ASP.NET will want to install on Windows is Internet Information Services (IIS). Windows 8, Windows 10, and Windows 11 shipped with different versions of IIS. Let’s take a look at how to install them.
Installing IIS
Keeping with Microsoft’s modular design, IIS in Windows is still an optional “Windows Feature” on modern versions of Windows.
To install it, press Windows+r, type appwiz.cpl into the run box, and then press Enter.
This will open the Program and Features part of Control Panel. Click on the “Turn Windows features on or off” link on the left-hand side.
Now click on the Internet Information Services check box.
If you’re a developer you are going to want to expand it and explore the sub-components as well. By default, it installs all the components needed to host a website, but you are probably going to need some of the more developer-oriented components as well.
After clicking OK, this dialog will appear on your screen for a while.
Restart your computer to finish the installation. Fire up your browser and navigate to localhost when it is done.
That’s all there is to it.