What is IIS server?
IIS, short for Internet Information Services, is Microsoft's web server. It ships with Windows Server as the Web Server (IIS) role and with desktop Windows as an optional feature, and it serves websites, web applications and APIs over HTTP and HTTPS. Microsoft's own description on iis.net calls it a flexible, secure and manageable web server for hosting anything on the web.
When someone says "an IIS server", they usually mean a Windows Server machine with that role switched on: the Windows equivalent of a Linux server running Apache or Nginx. IIS has no licence fee of its own. You pay for the Windows Server licence, and IIS comes with it. For the wider picture of the operating system, its editions and licensing, see our guide to what Windows Server is.
| Question | Answer |
|---|---|
| Full name | Internet Information Services |
| Made by | Microsoft |
| Current version | IIS 10.0, which first shipped with Windows Server 2016 and Windows 10 and is still the latest |
| Runs on | Windows only (Windows Server and desktop Windows) |
| Cost | Included with the Windows Server licence |
| Hosts | Static sites, ASP.NET on .NET Framework, ASP.NET Core, classic ASP, PHP through FastCGI, WCF services |
| Managed with | IIS Manager, PowerShell, the appcmd.exe tool, and XML configuration files |
How IIS works: HTTP.sys, WAS and worker processes
Microsoft's "Introduction to IIS Architectures" describes three moving parts behind every request. Knowing them makes IIS errors much easier to read.
- HTTP.sys is a kernel-mode driver in the Windows networking stack. It listens on ports 80 and 443, queues incoming requests, and can serve cached responses without leaving kernel mode.
- The WWW Service (W3SVC) configures HTTP.sys from the IIS configuration and tells the next component when a request is waiting.
- The Windows Process Activation Service (WAS) manages application pools and their worker processes. If no worker process is running for the pool that owns the site, WAS starts one.
The request is then handled inside a worker process, w3wp.exe, which runs the modules for authentication, compression, logging, static files, ASP.NET and so on. Since IIS 7 those features are separate modules that you add or remove, rather than one fixed program. Settings for the whole server live in applicationHost.config; each site or application can add its own settings in a web.config file in its folder.
What can IIS host?
IIS is best known for ASP.NET, but it serves several kinds of application. Not all of them are installed by default, so check the role services before you deploy.
| Application type | How IIS runs it | What to install |
|---|---|---|
| Static HTML, CSS, images | The built-in static file module | Nothing extra; part of the default role |
| ASP.NET on .NET Framework (Web Forms, MVC 5) | Inside the worker process, in an application pool set to a .NET CLR version | The ASP.NET 4.x role service |
| ASP.NET Core | The ASP.NET Core Module, usually in-process inside w3wp.exe | The .NET Hosting Bundle |
Classic ASP (.asp pages) | The ASP module, which needs ISAPI Extensions | The ASP role service; it is not installed by default |
| PHP | FastCGI, with a handler mapping .php to php-cgi.exe | The CGI role service plus the Non-Thread Safe PHP build |
| WCF services | WAS, which can activate them over HTTP or non-HTTP protocols | The matching WCF activation features |
Two of these trip people up. Microsoft notes that classic ASP is not installed by default, and that a missing ASP module shows up as HTTP 404 errors or as the page's source code appearing in the browser. For PHP, the PHP manual says to include the CGI role feature, use the Non-Thread Safe build with FastCGI, and point the handler at php-cgi.exe, not php.exe. That said, most PHP software, WordPress included, is written and tested on Linux first; our guide to what PHP is explains how it is usually served there.
Sites, applications and application pools
IIS organises content in a fixed hierarchy. A site contains one or more applications, and each application contains one or more virtual directories, each mapped to a physical folder on disk. Every site has at least a root application, and every application has a root virtual directory. The Default Web Site that IIS creates on install points at C:\inetpub\wwwroot.
Every application also belongs to an application pool. Microsoft's configuration reference defines a pool as a group of one or more worker processes with common settings that serve the applications assigned to it. Because each pool runs in its own processes, a crash or memory leak in one pool does not take down sites in another. That is the main reason to give each important site its own pool.
| Setting | What it controls | Typical choice |
|---|---|---|
| .NET CLR version | Which .NET Framework runtime the pool loads | v4.0 for ASP.NET 4.x; No Managed Code for ASP.NET Core, PHP and static sites |
| Managed pipeline mode | Integrated (IIS and ASP.NET share one pipeline) or Classic (the older IIS 6.0 model) | Integrated, the default; Classic only for old ASP.NET apps that need it |
| Identity | The Windows account the worker process runs as | ApplicationPoolIdentity, the default, which appears as IIS AppPool\PoolName when you set folder permissions |
| Recycling | When IIS restarts the worker process to clear memory | Leave the default until you have a reason to change it |
If a pool stops, for example because its process crashed several times in a short window, every site in it answers with 503 Service Unavailable until you start it again. Application errors inside a running pool show up as 500 Internal Server Error instead.
Bindings: how IIS knows which site to serve
A binding tells IIS which requests belong to a site. Each binding has a protocol (http or https) and binding information made of three parts: IP address, port and an optional host name. Microsoft's reference uses this example, where the first binding answers www.contoso.com on port 80 at one IP address and the second answers HTTPS on port 443 at all addresses:
<bindings>
<binding protocol="http" bindingInformation="192.168.0.1:80:www.contoso.com" />
<binding protocol="https" bindingInformation="*:443:" />
</bindings>
The host name part is what lets one server with one IP address run many websites, the same job a server_name line does in Nginx. IIS 10.0 also accepts wildcard host headers, so one binding can answer every subdomain of a domain. A site needs at least one HTTP or HTTPS binding to be reachable from the internet, and the domain's A record must point at the server's IP; our guide to pointing a domain to a server covers that side.
How to install IIS on Windows Server
You need an administrator account. Both methods below install the same role.
With PowerShell
Open PowerShell as administrator and run:
Install-WindowsFeature -Name Web-Server -IncludeManagementTools
Microsoft's cmdlet reference notes that management tools are not installed unless you add -IncludeManagementTools, so without it you get IIS but not IIS Manager. To see the optional role services and add the ones your application needs, list them first:
Get-WindowsFeature Web-*
Install-WindowsFeature -Name Web-Asp-Net45, Web-ASP, Web-CGI
In that example, Web-Asp-Net45 adds ASP.NET 4.x, Web-ASP adds classic ASP and Web-CGI adds the CGI and FastCGI support that PHP needs. Install only the ones you will use.
With Server Manager
- Open Server Manager, click Manage, then Add Roles and Features.
- Click Next through the installation type and server selection pages.
- On Server Roles, tick Web Server (IIS). Expand it and then Application Development to tick extras such as ASP.NET 4.x, ASP or CGI.
- Click Install and close the wizard when it finishes.
Open http://localhost on the server to see the default IIS page. To reach it from outside, allow ports 80 and 443 in Windows Firewall. For ASP.NET Core, install the .NET Hosting Bundle after IIS; Microsoft's hosting guide says that if you install the bundle first, you must run its installer again to repair it.
Adding a site from the command line
IIS Manager does everything below with a few clicks, but scripts are easier to repeat. These appcmd.exe commands, adapted from Microsoft's configuration reference, create an application pool and add an HTTPS binding to an existing site called Contoso. appcmd.exe lives in %windir%\system32\inetsrv.
appcmd.exe set config -section:system.applicationHost/applicationPools /+"[name='Contoso',autoStart='True',managedPipelineMode='Integrated']" /commit:apphost
appcmd.exe set site /site.name:Contoso /+bindings.[protocol='https',bindingInformation='*:443:']
An HTTPS binding also needs a certificate selected for it, which you do in IIS Manager under Bindings. If you are deciding which certificate to buy, our comparison of free and paid SSL certificates explains the difference.
IIS vs Nginx vs Apache
All three are web servers that do the same basic job. The real difference is the operating system they belong to and the software around them.
| IIS | Nginx | Apache HTTP Server | |
|---|---|---|---|
| Operating system | Windows only | Linux and other Unix-like systems mainly; Windows builds exist | Linux and other Unix-like systems mainly; Windows builds exist |
| Licence | Part of the Windows Server licence | Free, open source | Free, open source |
| Configuration | XML files (applicationHost.config, web.config), IIS Manager, PowerShell | Text files (nginx.conf and included files) | Text files, plus per-folder .htaccess |
| Process isolation | Application pools with separate worker processes | Worker processes; apps run separately behind it | Multi-Processing Modules; PHP often in PHP-FPM |
| Strongest fit | ASP.NET on .NET Framework, classic ASP, Windows-only apps | Reverse proxy, static files, PHP-FPM, Node.js and Python apps | Shared hosting and PHP sites that rely on .htaccess |
A simple rule: choose IIS when your application needs Windows, and choose Linux with Nginx or Apache when it does not, because a Linux server carries no operating-system licence. Our guide to what a web server is compares the Linux servers in more depth, including LiteSpeed.
ASP.NET Core does not need IIS
This surprises many .NET teams. ASP.NET on the older .NET Framework needs Windows and IIS, but ASP.NET Core and modern .NET are cross-platform. Microsoft documents running an ASP.NET Core app on Ubuntu, Red Hat Enterprise Linux or SUSE with its own Kestrel web server, behind Nginx as a reverse proxy, with systemd keeping the app running. In Microsoft's example, Nginx listens on port 80 and forwards requests to Kestrel on 127.0.0.1:5000.
server {
listen 80;
server_name example.com *.example.com;
location / {
proxy_pass http://127.0.0.1:5000/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
On Windows, IIS remains a good home for ASP.NET Core. Microsoft's hosting guide says the in-process model, the default in current templates, runs the app inside w3wp.exe and gives much higher throughput than proxying to Kestrel. So the choice is about the rest of your stack: if the app also needs SQL Server on Windows, Active Directory or Windows-only libraries, stay on IIS; if not, a Linux VPS does the same job for less.
Running IIS on a Bigdomainhost Windows server
To run IIS you need a Windows Server machine you control, which means a VPS, VDS or dedicated server rather than shared hosting. We do not sell Windows shared hosting. A Windows VPS from Bigdomainhost is built with Windows Server 2019 or 2022 in Mumbai (BOM-1) or Delhi NCR (DEL-1), with full Administrator access over RDP, so you can add the Web Server (IIS) role yourself in a few minutes. On Windows VDS plans (VDS 4 and VDS 8) the cores are reserved for you and the Windows Server licence is included in the price. For larger IIS workloads there is also a Windows dedicated server, with the licence included for the first 180 days. Servers are prepaid in 30-day periods from a rupee wallet, and every VPS gets free DDoS filtering.
If your application turns out to run on Linux, our KVM VPS plans start at ₹674 (US$7.66) per 30 days for 2 vCPU, 4 GB RAM and 40 GB NVMe, with no Windows licence to pay.
Not sure whether your application needs IIS at all? Tell us what it is built with. Message us on WhatsApp at +91 75994 50220 at any time, call during IST working hours, or email support@bigdomainhost.com.
Bigdomainhost wrote this guide with AI assistance and sells the Windows servers it mentions. Facts about IIS were checked against the linked Microsoft and PHP documentation on 27 November 2026.
Sources (checked )
- Microsoft IIS: IIS overview (iis.net)
- Microsoft Learn: Introduction to IIS Architectures
- Microsoft Learn: Understanding Sites, Applications, and Virtual Directories on IIS
- Microsoft Learn: Application Pools <applicationPools> configuration reference
- Microsoft Learn: Bindings <bindings> configuration reference
- Microsoft Learn: New Features Introduced in IIS 10.0
- Microsoft Learn: Classic ASP Not Installed by Default on IIS 7.0 and above
- PHP Documentation Group: PHP Manual: Installation with IIS for Windows
- Microsoft Learn: Install-WindowsFeature (ServerManager) cmdlet reference
- Microsoft Learn: Host ASP.NET Core on Windows with IIS
- Microsoft Learn: Host ASP.NET Core on Linux with Nginx