Install and set up a website in IIS on Windows 10
If you want to learn more about web design and development, installing Internet Information Services (IIS) on a Windows 10 computer is an effective method. IIS is a free Windows feature included with Windows 10, so why not use it?
There are 3 ways to install and set up websites in IIS on Windows 10; Use graphical user interface (GUI), PowerShell or Windows CMD.
Install IIS using the GUI
This is a simple method to set up websites in IIS. It might be the ideal method if you haven't learned PowerShell or Windows commands.
1. Start typing 'turn on windows' in the Search bar . The Turn Windows features on or off utility will display. Click on it.
2. The Windows Features window will open. It may take some time for other features to load. When done, click the checkbox next to Internet Information Services , then click the OK button .

3. The installation will begin and may take several minutes. Once completed, click the Close button .
4. To make sure IIS is installed and working, enter IIS in the Search bar near the Start button . As a result, you will see Internet Information Services Manager . Click it to open.
5. When IIS Manager opens, look to the left of the window in the Connections section . Expand the tree menu until you see Default Web Site . It is a placeholder website installed with IIS. Click on it to select.

6. On the right side of IIS Manager , see the Browse Website section . Click Browse *: 80 (http) . The default web page opens in the default web browser.

7. You will see a website as follows. Note the address bar has content localhost. That is the address to enter the new website.

Create the first site for IIS
Before going into the other two methods of installing IIS, let's look at where the site creation files are stored. The article will also create a very basic website. When you learn how to do this, you will learn the basics for getting into web design and development.
1. After IIS is installed, open File Explorer. Navigate to C: intepubwwwroot. That is where the files that make up the website should be stored. You should see the default IIS website file, iisstart.html and the image displayed on the page, iisstart.png. This is where you will save your first web page.

2. Open Notepad with admin rights. To save to the wwwroot location , you must be an administrator.
3. Save the file to the wwwroot location . Name it index.html and change Save as type: to All Files . Then click the Save button .

4. Now that it has been saved as the correct filetype, let's add some content in it. Enter the following HTML code to get a very basic web page and save it:
Hello World!
5. Return to the web browser with the default IIS website. Click the Refresh button . You should now see your first webpage.
Install IIS using Windows commands
You can shorten the installation of IIS into a command line. It can be done in the Windows Command Prompt or using PowerShell.
1. Open Command Prompt with admin rights.
2. Enter the following command and press Enter
:
DISM /online /enable-feature /featureName:IIS-DefaultDocument /All
3. You will see a progress bar appear. When it reaches 100.0% and you see the message 'The operation completed successfully' , you can close the Command Prompt. IIS has been installed.

4. Verify that you can open IIS Manager and the installation is working, using steps 4 - 7 from the IIS settings section with the GUI section.
Install IIS with PowerShell
1. Run PowerShell ISE with admin rights.

2. Enter the following cmdlet and run it:
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole -NoRestart
3. You will see a progress bar begin. Once completed, check to make sure IIS is installed and working.
This step is optional, but you can save it as a PowerShell script and then run it anytime. Let's work with the script and add different parameters. Finally, you will have an IIS installation script to set everything up exactly as you want it, which you can use anytime, with just one click.
You should read it
- Install Win 10 for Android tablet
- Instructions for installing Tor Browser for Windows
- How to install Windows 8.1 from USB
- Instructions for installing Windows 8.1 on Mac
- How to install Windows 11 iSO by USB, for machines that do not support
- Install Windows XP from a USB Flash drive
- Instructions to install Windows by USB, create USB boot, USB install Windows
- How to install and use IIS on Windows Server 2019
May be interested
- Instructions on how to create USB install Windows 10to install windows 10 we can create usb with windows 10 installation with extremely simple and quick steps.
- Things you need to know about how to install Windows todayto install new win, we will have many other ways such as installing from cd / dvd, from usb, hard drive, ... so do you know how to install win has advantages and characteristics?
- Instructions to install Windows by USB, create USB boot, USB install Windowscreating usb boot, usb install windows is very necessary when your computer does not have a damaged cd / dvd drive or dvd drive is unusable. all you need is a 4gb usb and windows installation iso file ...
- Install Windows 8 on the new partitionhere's how to download and install windows 8 developer preview build on a new partition on the hard drive.
- How to Install MAME in Windowsmame, which stands for multiple arcade machine emulator, is a program that allows you to play arcade games directly from your windows computer. to install and use mame, you must first download mame from the developer's official website,...
- Anyone can create a small and simple website with these 10 websiteswordpress is not the only way to create a website, there are some other great services that will prove to you. a solid wordpress platform continues to be one of the top choices for creating a website. however, in some cases, wordpress is a bit too much for new people.
- How to install and remove fonts on Macif you are not satisfied with the built-in fonts in mac os, why not download a new font from a free website and install it on your mac?
- 6 websites to download software, safe applications for Windows 10windows has tons of useful software and of course, comes with many different websites so you can find, download and install the software you want.
- Free tool to help you install Windows 11 without TPM, bypassing hardware requirementswindows 11 has some pretty strict requirements for security as well as minimal hardware. to install the new microsoft operating system, your computer must have tpm 2.0, secure boot and the cpu must be officially supported from microsoft.
- 8 ways to fix the problem of not being able to install Firefox on Windowssome windows users find it difficult to install firefox. when trying to install, they get the following error message: hmm. for some reason, we could not install firefox. choose ok to start over.