Questions tagged [iis]

IIS is Internet Information Services, the web server included with Microsoft's Windows Server operating systems. This is a generic tag. Wherever possible please use a *version-specific* tag, such as [iis-7], [iis-7.5], etc.

IIS is Internet Information Services, the web server included with Microsoft's Windows and Windows Server operating systems.

This is a generic tag. Wherever possible please use a version-specific tag such as:

  • on Windows Server 2016 and Windows 10
  • on Windows Server 2012 R2 and Windows 8.1
  • on Windows Server 2012 and Windows 8
  • on Windows Server 2008 R2 and Windows 7
  • on Windows Server 2008 and Windows Vista
  • on Windows Server 2003 and Windows Server 2003 R2; Windows XP x64 Professional (END-OF-LIFE)
  • on Windows 2000 and Windows XP Professional (END-OF-LIFE)

It is also recommended that you tag your questions with the appropriate windows-version tags.


IIS 7 and newer versions are built on a modular architecture, plugging in to the kernel-mode HTTP.SYS listener. User-mode Modules can be added or removed individually so that only modules required for specific functionality have to be installed.

IIS includes these module groups:

  • HTTP (request-processing pipeline, errors, redirects)
  • security
  • content
  • compression
  • caching
  • logging and diagnostics

The IIS Manager (INETMGR) is the IIS administrative GUI.

The command-line utility "AppCmd" provides a scriptable interface to the IIS configuration data.

The PowerShell WebAdministration module is included with IIS 7.5+.

The newer PowerShell IISAdministration module is included in IIS 10+. It is the only IIS PS Admin module supported on Nano server at the time of release.

5327 questions
19
votes
2 answers

How can I control which IP address IIS7 uses?

In Win2k3, I used httpcfg to tell IIS to listen to specific IP addresses on the server. I want to run Apache with VisualSVN Server on port 80 on another IP address but IIS7 binds to all IP addresses by default. What utility for IIS7 controls the…
None
18
votes
2 answers

Deploying ssl Certificates per site on iis

I currently have several sites deployed on an iis 8.5 server, each site has its own 80 and 443 binding, i need to have different certificates for each one of the hostnames configured on the machine, however when i want to edit the cert associated to…
Juan Sebastian
  • 1,233
  • 3
  • 10
  • 13
18
votes
2 answers

IIS 8 on Windows Server 2008 R2

Is it (or will it be) possible to install IIS 8 on Windows Server 2008 (R2) or it's only meant for Windows Server "8"/2012?
yojimbo87
  • 672
  • 5
  • 12
  • 22
18
votes
11 answers

Any freeware IIS log analyzer?

It would be nice to use ASP.NET, but PHP is ok too, and should be hosted in IIS6. EDIT: the logs are from our intranet site.
alexandrul
  • 1,435
  • 2
  • 19
  • 25
17
votes
6 answers

IIS 7 + ASP.NET 4

I have an ASP.NET application that I am trying to convert to an ASP.NET 4 application. The application is fairly simple. I have created a new web application in IIS 7.5 pointing to the directory that the ASP.NET application exists in. When I…
user26712
  • 329
  • 1
  • 4
  • 10
17
votes
1 answer

Password protect single directory in IIS 8

How can I password protect a single directory in IIS 8 under Windows Server 2012 Standard? Example: I want to be able to access mysite.com, but when navigating to mysite.com/secured, I want to be prompted for a password for access.
Jake
  • 602
  • 1
  • 9
  • 17
17
votes
4 answers

Security Risk? Microsoft-HTTPAPI/2.0

Whilst security vetting our machines, I found that one host was exposing a Microsoft-HTTPAPI/2.0 service over port 80 to the internet. I'm not familiar with this, but after googling around, I found that SQL Server 2008 publishes SQL Server Reporting…
Cheekysoft
  • 427
  • 1
  • 4
  • 12
17
votes
2 answers

IIS 404 error where file exists

I have a fresh VPS installation from my provider (Windows 2008 R2, IIS 7.5). The default web site works fine: http://5.9.251.167/ I created a new website, and binding for http://new.ianquigley.com On that server and everywhere else that Domain…
Ian Quigley
  • 643
  • 1
  • 6
  • 12
17
votes
1 answer

How to add NETWORK SERVICE to Users permission group?

I'm adapting an application from a different server, their installation guide tells me to Add Server Name\Network Service identity to Users permission group. So how can I? I've tried: Via Computer Management, Groups, Users and adding it there,…
Madara's Ghost
  • 378
  • 1
  • 2
  • 11
17
votes
2 answers

Prevent URL Rewrite rules from being inherited by subdirectories in IIS7

I have a URL Rewrite setup for clean URLs in a CMS and my web.config looks like this:
Rich Jenks
  • 431
  • 1
  • 3
  • 8
17
votes
2 answers

Zero downtime uploads / Rollback in IIS

I'm not sure if this is the right way to ask this question, but here's basically what i'd like to do: 1.) Push a changeset to a site in IIS. 2.) Don't interrupt the users. 3.) Be able to roll back effortlessly. So, there are a few things that I…
ChickenMilkBomb
  • 419
  • 6
  • 14
17
votes
4 answers

IIS7: How to import public key and private key as two seperate files?

We have a client who is directing their traffic to our web servers and needs us to use their wildcard SSL certificate. They gave it to me in two pieces though, one is the public key (.cer) and another file containing the private key (.key). I can't…
James Alexander
  • 292
  • 2
  • 3
  • 9
16
votes
2 answers

First request after a while always slow - ASP.NET MVC / IIS 8.5 / Windows Server 2012 R2 VPS

I'm hosting a low-traffic ASP.NET MVC 5 application on a VPS with Windows Server 2012 R2 / IIS 8.5, with 1 GB of RAM. My problem is that the first request after some time without any requests always gets a slow response - around 1.5 seconds…
michalstanko
  • 291
  • 1
  • 3
  • 7
16
votes
3 answers

What role does "App Pool Identity" play for an Application Pool?

When talking about IIS 7.5 security, AFAIK: App Pool Identity decides whom my web application runs as. Authentication Method decides whom the clients are authenticated as. I have a virtual folder configured like this: I use Anonymous Authentication…
smwikipedia
  • 646
  • 4
  • 8
  • 15
15
votes
4 answers

IIS7: How to block access with a web.config file?

I know that IIS7 allows me to have a per directory configuration with the web.config xml file. I have a directory with some configuration files that don't want to be web accessible. A local web.config file forbidding read access to it would be a…
neves
  • 1,230
  • 2
  • 12
  • 16