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.

5362 questions
70
votes
4 answers

What is the difference between iisreset, recycle, refresh and restart?

In IIS7, there are numerous things you can do that seem to restart the website. I am unclear about exactly how they are all related. run iisreset from the command line refresh a website recycle an app pool restart a website Can someone explain…
33
votes
2 answers

Why does the IIS worker process recycle every 29 hours and not every 24 hours?

When you setup a site on IIS it defaults the worker process to recycle every 1740 minutes (29 hours). Why an odd number like 29 hours and not, for example, 24 or 48 hours?
Guy
  • 1,839
14
votes
4 answers

Is it considered a best practice to delete the DefaultWebSite and App Pools from IIS?

Does Microsoft recommend deleting and cleaning up the Default Web Site instance and extra Application Pools from production web servers?
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,541
  • 4
  • 18
  • 26
10
votes
1 answer

Hide IIS from network

I installed iis on Windows to host a test website, but it's shared to everyone on the network. Is there a way to disable this so it is not shared to any other computers?
stackers
  • 327
9
votes
1 answer

What is the cause of "application pool exceeded time limits during shut down"?

I have a website that throw out 500 error randomly (usually, once every few hours). I checked the event view and see the following error: A process serving application pool 'xxxxxxx' exceeded time limits during shut down. The process id was…
Monkey D Luffy
  • 405
  • 1
  • 3
  • 8
7
votes
3 answers

redirect to domain without www

I use IIS7. how do i config it so that if the user types www.serverfault.com it redirects to serverfault.com like on this site?
newBEE
7
votes
2 answers

How can I restart a IIS site by using appcmd commands?

I'm wondering the possibility of restart a site in the IIS 7.5 via appcmd commands. To list the all sites available I got success by using: appcmd.exe list site
7
votes
7 answers

IIS Process ID for pool

How do you find out which process in the task manager belongs to what IIS app pool.
darthg8r
  • 243
7
votes
2 answers

Cannot open IIS 7 applicationHost.config in 64-bit Windows with 32-bit text editor

Why can I not open the applicationhost.config file on 64-bit Windows?
52d6c6af
  • 444
6
votes
2 answers

MsDeploy commands not working

We are currently planning to migrate IIS 6 applications (hosted in Windows 2003) to IIS 8 on Windows 2012. We followed Microsoft instructions for using their provided tool MSDEPLOY and configured at both source as well as destination ends, but when…
vikas
  • 359
6
votes
2 answers

Why is "Enable 32 bit applications" an option in IIS?

As I understand it, everything from IIS7 and beyond can simultaneously support 32 and 64 bit applications... So why is "Enable 32 bit applications" an option w/ IIS any more? Why would it not just automatically support both?
Rikon
  • 320
5
votes
1 answer

Where does Microsoft IIS stores its settings?

Where I can I find the config file For Microsoft Windows IIS 7.5, that has the physical path in it for example?
user16986
  • 47
  • 1
  • 1
  • 5
5
votes
5 answers

How do you pronounce IIS?

I would always just spell it out saying "Eye Eye Ess," but my boss always calls it "Two Ess," like the II is roman numeral. I know it stands for Internet Information so it is not really numbers, but on the other hand it is a lot easier to say "Two…
Adam Nofsinger
  • 191
  • 1
  • 9
4
votes
1 answer

Global IIS Issue due to Exception in Application Pool

Is it possible that an exception in an aspx application of one application pool can cause problems for other application pools as well? I have experienced problems with an IIS v7.5 where whole IIS got unresponsive after some application error and…
1
2 3
13 14