Websites on a Windows PC need a web server to handle browser requests. Internet Information Services (IIS) is Microsoft's built-in web server and can be installed through Windows Features for local development or intranet hosting.
IIS separates website hosting from its administration tools. Its default feature selection supports static HTML pages and images and includes IIS Manager; application frameworks and runtimes may require additional components.
Adding IIS requires administrator privileges and starts the default website on TCP port 80. Another web server using that port can prevent the site from starting, while firewall rules and network configuration determine whether other devices can reach it.
On Windows Server, install the Web Server (IIS) role using Server Manager → Add roles and features instead of the Windows Features dialog.
Steps to install Internet Information Services (IIS) on Windows:
- Press Windows + R to open Run.
- Enter optionalfeatures in the Open field.

- Select OK to open Windows Features.

- Select the Internet Information Services checkbox.
The filled parent checkbox represents a selection of IIS components. Internet Information Services Hostable Web Core is a separate feature, not the full web server.
- Expand Internet Information Services.

- Expand Web Management Tools.

- Confirm IIS Management Console is selected.
This component supplies IIS Manager for local website administration. If its checkbox is empty, selecting it adds the console to the installation.
- Expand World Wide Web Services.

- Expand Common HTTP Features.

- Confirm Default Document and Static Content are selected.
These default components let IIS serve an HTML welcome page when the browser requests the site root. If either checkbox is empty, selecting it includes that component.
- Select OK to install the selected IIS components.
Windows searches for the required files and applies the changes. A request for missing files or an installation error means the installation has not completed.
- Select Close when Windows completed the requested changes appears.
If Windows requests a restart instead, a restart is required before checking the website; unsaved work must be saved first.
- Press Windows + R to reopen Run.
- Enter http://localhost in the Open field.

- Select OK to open the address in the default web browser.

- Confirm the Internet Information Services welcome page appears at localhost.
An unrelated page or a connection error does not confirm IIS is serving the default website. A different page can indicate another server is using port 80; a connection error can indicate that the site or its service has not started.
- Press Windows + R to reopen Run.
- Enter inetmgr in the Open field.

- Select OK to open Internet Information Services (IIS) Manager.

- Expand the local computer in the Connections pane.

- Select Sites in the Connections pane.

- Confirm Default Web Site shows Started in the Status column.
The site status and the welcome page together confirm that IIS is installed and serving content locally.