Last updated on November 17th, 2026 at 03:14 pm
Windows 11 Home and Pro include IIS, Microsoft’s web server, but it’s turned off by default. Signed in as an administrator, select Start, type Windows features, and open Turn Windows features on or off. Check Internet Information Services, select OK, and wait while Windows installs it. Then go to http://localhost in a browser. If the IIS welcome page appears, the web server is running.
Turn on IIS
- Select Start, type
Windows features, and select Turn Windows features on or off. You can also press Windows + R, typeoptionalfeatures, and press Enter. - Check Internet Information Services. The box fills in rather than showing a tick, because Windows only turns on the most common parts, including IIS Management Console and static web pages.
- Select OK. Windows installs the files, which can take a few minutes.
- Select Close when it’s done. Restart if Windows asks you to.

Does Windows 11 Home include IIS?
Yes. IIS is available in Windows 11 Home and Pro, though a few advanced features are only in Pro and other business editions.
Check that IIS is working
- Open any browser and go to
http://localhost. - You should see the default IIS welcome page.
- The files for that page are in
C:\inetpub\wwwroot. Replace them with your own site’s files, or create a new site as shown below.
Where does IIS keep the website files and logs?
The Default Web Site serves files from C:\inetpub\wwwroot. Put an index.html file there to test it. Request logs are saved in C:\inetpub\logs\LogFiles, which helps when a page returns an error.
Add the features your app needs
The default install only serves static pages such as HTML, CSS, and images. For other kinds of sites: To serve PHP pages as well, turn on CGI in the same feature list and follow these steps for installing PHP on Windows, which also apply to Windows 11.
- Open Turn Windows features on or off again.
- Expand Internet Information Services > World Wide Web Services > Application Development Features.
- Check what your app needs, such as ASP.NET 4.8 for ASP.NET web apps. Windows adds related items, such as ISAPI Extensions, automatically.
- Select OK.
Only turn on features you’ll use. Each one adds more to keep updated. For ASP.NET Core apps, also install the ASP.NET Core Hosting Bundle from Microsoft’s .NET download page.
Do I need IIS to view websites?
No. You only need IIS to run your own web server on the PC. Browsing the web doesn’t use it.
On an older PC, the same feature is there when you enable IIS on Windows 10. For a full ASP.NET setup, follow Microsoft’s Install IIS and ASP.NET modules.
If a site name still goes to an old address after you change your settings, try flushing the DNS cache in Windows 11.
Create a site in IIS Manager
- Select Start, type
IIS, and open Internet Information Services (IIS) Manager. - In the Connections pane, expand your PC’s name, then right-click Sites and select Add Website.
- Enter a Site name, choose the folder with your site’s files under Physical path, and pick a Port, such as
8080, so it doesn’t clash with the default site on port 80. - Select OK, then open
http://localhost:8080in your browser.
From IIS Manager, you can also start, stop, or restart the web server with the buttons in the Actions pane.
Turn on IIS with PowerShell
Right-click Start, select Terminal (Admin), and run:
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole, IIS-WebServer, IIS-ManagementConsole -All
When it finishes, restart if it asks, then test http://localhost as above.
If localhost doesn’t load
- Check the service is running. Open IIS Manager, select your PC’s name, and select Start in the Actions pane. Or press Windows + R, type
services.msc, and make sure World Wide Web Publishing Service is running. - Another app may be using port 80. Some development tools and apps use it too. Stop that app, or give your IIS site a different port.
- Check the address. Use
http://localhost, nothttps://. The default site doesn’t have HTTPS set up. - Restart the PC if you’ve just turned IIS on and Windows didn’t restart.
Keep it private
IIS on a home PC is usually for testing. Windows Firewall blocks other devices from reaching it by default. Leave it that way unless you need other computers on your network to see the site, and never open it to the internet without securing it first.
Turn IIS off
Open Turn Windows features on or off, clear Internet Information Services, and select OK. Your site files in C:\inetpub stay on the PC until you delete them.
Related guides
- How to Enable Virtualization on Windows 10
- How to Enable JavaScript on Windows 11
- How to Enable Running Scripts in Windows 11

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. Each guide follows Microsoft, Apple and Google’s own documentation and is updated when the steps change. Screenshots marked “Recreated” are illustrations of the real screens.