Book a call Free rebuild
Home/Glossary/Hosting/Microsoft IIS

Microsoft IIS

August 16, 2022 Updated November 16, 2026 2 min read

Hosting glossaryMicrosoft IIS (Internet Information Services) is the web server built into Windows Server.

Internet Information Services, or IIS, is Microsoft's web server. It ships as a role in Windows Server and as an optional feature in desktop editions of Windows, and it is the natural home for sites and applications built on Microsoft's stack: ASP.NET, classic ASP, and ASP.NET Core apps, for which IIS often acts as a reverse proxy. It runs only on Windows, while Apache, NGINX, and LiteSpeed dominate Linux hosting.

How it works

  • HTTP.sys: a Windows kernel driver listens for requests and hands them to the right site.
  • Application pools: each pool runs its sites in separate worker processes (w3wp.exe) under its own identity, so one crashing or compromised application does not take down the others.
  • Modules: features such as authentication, compression, caching, URL rewriting, and logging are modules that can be added or removed.
  • Configuration: server-wide settings live in applicationHost.config, and each site or folder can have a web.config file, the IIS counterpart of Apache's .htaccess.

IIS is managed through the IIS Manager console, PowerShell, or the appcmd command-line tool.

Running PHP and WordPress on IIS

IIS runs PHP through FastCGI, a faster descendant of CGI, so WordPress can run on it. Pretty permalinks need Microsoft's URL Rewrite module; with it installed, WordPress can write its rewrite rules to web.config the way it writes them to .htaccess on Apache. Plugins that rely on .htaccess rules, common among security and caching plugins, will not have those rules applied on IIS, so they need equivalents in web.config.

In practice most WordPress hosting is Linux-based. IIS makes sense for WordPress mainly where an organization already runs Windows servers and wants to keep everything on one platform.

IIS vs Apache and NGINX

All three are mature, widely used, and secure when maintained. The real differences are platform and ecosystem: IIS integrates with Windows authentication, Active Directory, and .NET, and comes with a Windows Server license; Apache and NGINX are open source, run on almost any operating system, and are what most PHP applications are documented and tested against.

Hardening IIS

  • Install only the role services and modules the sites need.
  • Keep Windows Server patched; IIS updates arrive through Windows Update.
  • Run each site in its own application pool with a low-privilege identity.
  • Show custom error pages to visitors rather than detailed errors, which reveal paths and configuration.
  • Use request filtering to block unwanted file extensions, verbs, and very long URLs.
  • Serve sites over HTTPS, add security headers, and keep logging switched on.

Source: Microsoft Learn, Internet Information Services documentation.

HostList

The hosting directory with no paid rankings.

Compare 30,000+ web hosts and MSPs across 120+ countries, ranked by HRI, an independent 0 to 100 rating built from verified data. Find your perfect web host.