Installing IIS on Windows Server or Windows 10/11 provides a powerful local web platform for development and testing. This guide walks through the steps, options, and configuration choices you need to get IIS up and running quickly.
Use the overview below to compare roles and features, understand prerequisites, and choose the right setup for your environment.
| Edition | Windows 10/11 Pro | Windows Server 2019 | Windows Server 2022 |
|---|---|---|---|
| IIS Version | 10.0 | 10.0 | 10.0 |
| Default Site Root | C:\inetpub\wwwroot | C:\inetpub\wwwroot | C:\inetpub\wwwroot |
| Management Tool | Internet Information Services (IIS) Manager | Internet Information Services (IIS) Manager + PowerShell | Internet Information Services (IIS) Manager + PowerShell |
| Common Roles Used | Static Content, ASP.NET, CGI | Web Server (IIS), ASP.NET, WAS | Web Server (IIS), ASP.NET, WAS |
| Recommended for Developers | Yes with Desktop Experience | Yes with full Server GUI | Yes with Server Core or GUI |
Vorbereitung und Komponentenauswahl
Before you install IIS, verify Windows edition, enable required features, and decide which server roles and role services you need.
Prüfen der Voraussetzungen
Ensure your edition supports IIS, install .NET if required, and confirm that required Windows features can be added.
Rollen und Features auswählen
Select only the components you need, such as static content serving, PHP, ASP.NET, or CGI, to keep the footprint minimal and secure.
IIS über die grafische Oberfläche installieren
The Server Manager and Windows Features dialog offer a visual path for installing IIS on desktop experiences.
Server Manager unter Windows Server
Add roles and features, select Web Server (IIS), and choose role services directly inside Server Manager.
Windows-Features aktivieren unter Windows 10/11
Turn Windows features on or off, enable Internet Information Services, and optionally select subfeatures like IIS Management Console.
IIS per PowerShell installieren
PowerShell provides a fast, scriptable method to install IIS and its components with clear, reproducible commands.
Installieren mit Install-WindowsFeature
Use Install-WindowsFeature with Web-Server and specific role services such as Web-Asp-Net45 for ASP.NET support.
Beispiele für gängige Szenarien
Run targeted commands to install static content, default documents, directory browsing, and HTTP errors in a single step.
Erste Schritte nach der Installation
Once installed, start the service, verify the default page, and configure bindings and firewall rules for local or network access.
Testen der Standardwebsite
Open a browser to http://localhost and confirm the IIS welcome page appears, verifying that the service is running.
Anpassen der Bindungen und des Dokumentstammpfads
Change port, hostname, or physical path in IIS Manager or via configuration files to point to your application directory.
Skalierung, Sicherheit und Betrieb
Plan for performance tuning, secure bindings, and routine maintenance to keep your IIS deployment reliable and efficient.
- Wählen Sie nur die erforderlichen Rolle-Dienste, um Angriffsfläche zu minimieren.
- Konfigurieren Sie HTTPS mit gültigen Zertifikaten für Produktionsumgebungen.
- Aktivieren und überwachen Sie Protokolle und Leistungsindikatoren regelmäßig.
- Testen Sie Sicherheitseinstellungen und Zugriffsbeschränkungen in der URL-Zertifikatbindung.
- Planen Sie regelmäßige Wartungsfenster für Patches und Konfigurationsupdates.
FAQ
Reader questions
Welche Windows-Editionen unterstützen die vollständige IIS-Installation?
Windows Server versions and Windows 10/11 Pro or Enterprise support the full IIS feature set. Home editions lack the required Windows component infrastructure for IIS.
Ist eine zusätzliche Lizenz erforderlich, um IIS zu nutzen?
No, IIS is included with supported Windows Server editions and Windows 10/11 professional editions at no extra license cost.
Sind Sicherheitsupdates für IIS automatisch installierbar?
Yes, enable Windows Update and install monthly rollups, or use WSUS to manage security patches for IIS components systematically.
Kann man mehrere Webseiten auf demselben Server hosten?
Ja, create multiple sites with unique bindings for port, IP address, and hostname, and assign separate physical paths for each website.