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
12
votes
1 answer

Running SQL from memory faster than SSD?

Recently we have been having problems with our oracle database locking up on 1 query that we know so far. I will give a break down of what is happen however really doesn't have too much to do with my question but I am open to…
Anthony Fornito
  • 9,546
  • 1
  • 34
  • 124
12
votes
1 answer

ApplicationPoolIdentity Environment variables IIS

Is it possible to set Environment Variables for ApplicationPoolIdentity virtual accounts? The documentation on this is practically-non existent. I would like to inject an Environment Variable for just that Application Pool. It seems to be the case…
Beau Trepp
  • 223
  • 2
  • 6
12
votes
4 answers

How do I keep the ssl key for our website confidential?

I want to keep our SSL key for our website confidential. It's stored on 2 USB sticks, one in a safe deposit box and one I keep secure. And then I'm the only one who applies it to the web server so that it is totally secure. Except... On IIS at…
David Thielen
  • 301
  • 2
  • 13
12
votes
5 answers

IIS App Pool High CPU usage despite no requests

I have recently migrated a set of Windows Server 2008 R2 / IIS 7.5 servers to new servers running Windows Server 2012 / IIS 8. I am experiencing some odd behavior from IIS. We have 2 identical servers, each server is running 2 web sites, each on…
Leland Richardson
  • 203
  • 1
  • 3
  • 9
12
votes
3 answers

SNI and wildcard SSL certificates on the same server with IIS

I'd like to host a website that should listen to subdomains (e.g. sub.domain.com) together with multiple websites that live just under a second-level domain (e.g. domain2.com, domain3.com) with IIS and with SSL. For the website with the subdomains I…
Piedone
  • 385
  • 1
  • 6
  • 18
12
votes
4 answers

Temporarily redirect *all* HTTP/HTTPS requests in IIS to a "server maintenance" page

We've got an IIS server that hosts hundreds of separate web apps, and the physical database server that hosts these apps is going to be taken offline for maintenance for a brief period (we expect it to take less than 15 minutes). During that period,…
Josh
  • 287
  • 1
  • 3
  • 8
12
votes
1 answer

Why are 32-bit application pools more efficient in IIS?

I've been running load tests with two different ASP.NET web applications in IIS. The tests are run with 5,10,25, and 250 user agents. Tested on a box with 8 GB RAM, Windows 7 Ultimate x64. The same box running both IIS and the load test…
mhenry1384
  • 535
  • 6
  • 15
12
votes
6 answers

How can I check if my IIS site is using NTLM or Kerberos?

How can I check if my IIS site is using NTLM or Kerberos? And how can I change authentication from Kerberos to NTLM? I'm using IIS 7.5.
KlimczakM
  • 223
  • 1
  • 2
  • 7
12
votes
2 answers

Is there a secure way to allow IIS 7 in a DMZ to access a DB server behind the firewall?

Our network admins are adamant that it is insecure for our web servers, which are hosted in the DMZ, to access the DB server behind our firewall. To get round the problem, we access the data via web services or WCF. I feel that this is an…
Al Polden
  • 223
  • 2
  • 4
12
votes
5 answers

Windows web server checklist

When you are deploying a new web server box what are the standard things you install on it and do to set it up? What things do you do to ensure the box is locked down and not going to get compromised? So far: General Apply security patches, etc Run…
Luke Quinane
  • 717
  • 1
  • 9
  • 20
12
votes
1 answer

Config IIS for serving static files / CDN?

Is there anyway to config IIS to serve static file like CDN? Like Gzip, Cache, E-tag, Mod-date? And how should we config to make it very robust on massive requests? I know it's a short question but that's all I want to ask. To the question on the…
DucDigital
  • 1,491
  • 3
  • 18
  • 26
11
votes
1 answer

How to design/ensure high-availability of web servers?

I have been given a dedicated server by 1&1 internet, which has two hard drives in a RAID1 configuration. I expected this would be good enough as if one disk fails, the other can take over until the damaged one is replaced. However on two ocassions…
11
votes
1 answer

Can an IIS server have too much memory?

I've seem some claims that Exchange (link) and Elasticsearch (link) can suffer from "too much" memory. I also read a vague hint in an old book that the same might be true of IIS: [T]he more [RAM] the merrier, at least to a certain degree. If you…
anon
  • 404
  • 1
  • 5
  • 15
11
votes
4 answers

Could you tell me what exactly happens when we edit the Web.config (at runtime) on a IIS server?

Could you tell me what exactly happens when we edit the Web.config (at runtime) on a IIS server. Is the application that depend of the web.config automatically restarted? If yes is it possible to cancel the automatic restart (or reload of the…
Bastien Vandamme
  • 251
  • 1
  • 2
  • 8
11
votes
7 answers

FTP service for use on Windows Server?

We always use IIS' FTP service but recently we have had a few problems with it; what FTP service do you recomend for IIS? We use Windows Server and Windows XP in the clients. A free version is a must, We are now considering FileZilla and WarFtp, We…
Jedi Master Spooky
  • 552
  • 1
  • 7
  • 14