Last updated on November 10th, 2026 at 10:11 am
IIS is built into Windows 10. Signed in as an administrator, press Windows + R, type optionalfeatures and press Enter (or open Control Panel > Programs > Turn Windows features on or off), check Internet Information Services and select OK. The blue IIS welcome page at http://localhost means it’s running. Windows 10 has reached end of support, so use it to build and test sites, not host them, or enable IIS on Windows 11.
What you’re turning on
IIS (Internet Information Services) is Microsoft’s web server. Windows 10 includes IIS 10.0 as an optional feature that’s switched off until you turn it on. A few terms you’ll see below:
- localhost: the name your PC uses for itself.
http://localhostandhttp://127.0.0.1both open the site IIS is serving on this PC. - Default Web Site: the sample site IIS creates. Its files live in
C:\inetpub\wwwroot. - IIS Manager: the app you use to add sites, change ports and start or stop the server.
- Port: a number that tells traffic which site to reach. Plain web traffic uses port 80.
Turn on IIS in Windows Features
- Select Start, type Control Panel, and open it.
- Select Programs > Turn Windows features on or off. If Control Panel shows icons instead of categories, select Programs and Features, then Turn Windows features on or off on the left.
- Check Internet Information Services. The box fills with a small square instead of a check mark. That means Windows picked the default parts, which are enough for a basic website.

- Select OK. Windows shows a progress bar while it applies the changes, which can take a few minutes.
- When you see Windows completed the requested changes, select Close. If Windows asks to restart, select Restart now.
Check that IIS is working
Open any browser and go to http://localhost. The blue IIS welcome page means the web server is installed and running.

To replace that page with your own, put an index.html file in C:\inetpub\wwwroot. That folder only lets administrators save files, so open Notepad with Run as administrator if you want to create the file there, or build your site in your own folder and add it as a new site (covered below). Refresh the browser to see your page.
Add ASP.NET, FTP and other features
The default install serves static pages such as HTML, CSS, images and JavaScript. To run other kinds of sites, go back to Windows Features, select the + next to Internet Information Services, and check only what you need: For PHP sites, check CGI under Application Development Features and use the Non Thread Safe build of PHP; the steps to install PHP in Windows 10 cover the FastCGI handler mapping.

- ASP.NET apps: expand World Wide Web Services > Application Development Features and check ASP.NET 4.8 (the number may differ slightly on your PC). Windows adds the matching .NET Extensibility and ISAPI items for you. Older apps built for ASP.NET 3.5 need .NET Framework 3.5 turned on first.
- FTP: check FTP Server, then add an FTP site in IIS Manager. User access, firewall rules and FTPS are all covered in the guide to setting up an FTP server in Windows 10.
- IIS Manager: Web Management Tools > IIS Management Console is on by default. Leave it checked, or you won’t have the management app.
Every feature you add is more code that has to be kept up to date, so skip anything you won’t use.
Turn on IIS with PowerShell or Command Prompt
This is handy if you set up more than one PC. Right-click Start and select Windows PowerShell (Admin), then run:
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole, IIS-WebServer, IIS-ManagementConsole -All
The -All switch also turns on the parent features these depend on. Add -NoRestart if you’d rather restart later. The parameters are explained on Microsoft’s Enable-WindowsOptionalFeature page.
From Command Prompt (Admin), the DISM equivalent is:
DISM /Online /Enable-Feature /FeatureName:IIS-WebServerRole /FeatureName:IIS-ManagementConsole /All
To see which IIS parts are on, run Get-WindowsOptionalFeature -Online | Where-Object FeatureName -like "IIS*" in PowerShell. Each one shows Enabled or Disabled.
Open IIS Manager
- Press Windows + R, type
inetmgr, and press Enter. - Or search Start for IIS and select Internet Information Services (IIS) Manager.
- Or open Control Panel > System and Security > Administrative Tools and double-click it there.
In the Connections pane on the left, expand your PC’s name, then Sites. Default Web Site is the page you saw at localhost. The Actions pane on the right holds the buttons you’ll use most.

Add your own website
Before you start, create a folder for the site, such as C:\Sites\TestSite, and put an index.html file in it.
- In IIS Manager, select Sites, then select Add Website in the Actions pane.
- Type a Site name, such as
TestSite. Leave the Application pool that IIS Manager fills in. - Next to Physical path, select the … button and choose your site folder.
- Under Binding, keep Type as http and IP address as All Unassigned. Change Port to
8080, because Default Web Site already uses port 80. - Leave Start Website immediately checked and select OK.

- Go to
http://localhost:8080in your browser. You should see your own page.
Want a friendly address instead of a port number? Enter a Host name such as testsite.local in step 4 (you can keep port 80), then add the line 127.0.0.1 testsite.local to your PC’s hosts file so Windows knows where that name points. The steps are in editing the hosts file in Windows 10. Microsoft’s Create a Web Site page describes every field in this dialog.
To stop, start or restart one site, select it and use Stop, Start or Restart in the Actions pane. To restart all of IIS at once, run iisreset in Command Prompt as an administrator.
Can IIS and Apache run on the same PC?
Yes, as long as they use different ports. Leave one on port 80 and move the other to a port such as 8080. If you’d rather use Apache alone, see how to install Apache in Windows 10.
Open the site from another device
By default only this PC can reach your sites. To test from a phone or another PC on the same network:
- Find this PC’s local IP address, such as
192.168.1.25. Here’s how to find your IP address in Windows 10. - Make sure Windows Defender Firewall allows the port. For a site on 8080 you’ll need an inbound rule, explained in opening a port in the Windows 10 firewall. Use the Private profile only.
- On the other device, go to
http://192.168.1.25:8080using your own address.
Windows 10 limits how many requests IIS works on at the same time: 3 on Home and 10 on Pro and Enterprise, according to Microsoft’s IIS request restrictions page. Extra requests wait in a queue, so pages just load more slowly under load. Windows Server has no such limit.
Does Windows 10 Home include IIS?
Yes. You turn it on in Windows Features exactly as on Pro. The main difference is the lower limit of 3 simultaneous requests, which is fine for testing by one person.
Fix common problems
Localhost doesn’t load
Restart the PC if Windows asked you to. Then check that Default Web Site shows as started in IIS Manager, and open Services (services.msc) to confirm World Wide Web Publishing Service and Windows Process Activation Service are running.
Port 80 is already in use
Another web server, such as Apache, or a developer tool may already hold port 80. Run netstat -ano | findstr :80 in Command Prompt and look up the process ID in Task Manager, as described in finding port numbers in Windows 10. Either stop that program or right-click your site in IIS Manager, select Edit Bindings, and pick another port. Running IIS can block Apache from starting, so turn it off first if you plan to run WordPress on Windows 10 with XAMPP.
HTTP Error 403.14 – Forbidden
IIS found the folder but no start page in it. Add an index.html (or default.htm) file, or open the site’s Default Document feature and add your page’s file name. Microsoft’s 403.14 troubleshooting article recommends this over turning on Directory Browsing, which shows everyone your file list.
Access denied or a 401/500 error on your own folder
IIS can’t read the files. Right-click the site folder, select Properties > Security > Edit > Add, enter IIS_IUSRS, and give it Read & execute. That’s the same permission IIS uses on wwwroot.
IIS Manager is missing
Go back to Windows Features and check Web Management Tools > IIS Management Console.
What’s the difference between IIS and IIS Express?
IIS Express is a lighter version that comes with Visual Studio. It runs only while you start it, doesn’t need administrator rights for most tasks, and doesn’t support FTP. Full IIS runs as a Windows service and starts with the PC. Microsoft compares them in its IIS Express overview.
Does IIS run PHP sites like WordPress?
Not out of the box. You’d need to install PHP separately, turn on the CGI feature under Application Development Features, and add a database. For a quick local WordPress site, an all-in-one local server package is usually simpler.
Once localhost shows your own page, you have a working test server. Next, try adding a second site on its own port or turning on ASP.NET for the app you’re building.
Keep it safe
- Don’t expose it to the internet. Don’t forward ports on your router to this PC. For a public site, use Windows Server or a hosting service.
- Keep firewall rules narrow. Allow only the port you need, and only on private networks.
- Turn IIS off when you’re done testing, and keep Windows updated while it’s on.
Turn off IIS
Open Windows Features, uncheck Internet Information Services, select OK, and restart if asked. From PowerShell (Admin), Disable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole does the same. Your files in C:\inetpub and your own site folders stay on the PC, so delete them yourself if you no longer need them.

Matt Jacobs writes and maintains the guides on Support Your Tech, which he started in 2017. He spent most of his career keeping small-business PCs running and still takes the occasional consulting job, so the steps here come from fixing the same problems on other people’s computers. Every guide is checked on his own Windows 11, Windows 10, Mac, iPhone and iPad before it goes up.