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
9
votes
3 answers

How to explain Django/Python installation to Python-newbie running a shared IIS server

For reasons beyond my control, our website is hosted with a hosting provider that uses IIS for their servers. They currently offer PHP and ASP, and also Python and Perl through cgi-scripts. I want to do a re-design, re-write of our website, and want…
Epcylon
  • 217
  • 4
  • 10
9
votes
2 answers

How to restrict unauthorized domains pointing to my website's IP address

I found that some domain (namely bajajra.com) is pointing to my website's IP address. I am using IIS 10 to host my website. How can I restrict the access to all such unauthorized domains? This question is similar to this one, but I am looking for…
Vikas Sharma
  • 93
  • 1
  • 4
9
votes
2 answers

Configure HAProxy to include host headers for different backends

I am exploring the use of HAProxy as a balancer in front of a set of web apis that run on IIS. node1.myapp.mycompany.com node2.myapp.mycomapny.com We are currently using Host Headers to correctly resolve the right web application on IIS. For…
Matt
  • 3,241
  • 9
  • 30
  • 33
9
votes
5 answers

Does IIS log request header information? If yes, where?

I would like to monitor HTTP request headers. Does IIS log this information somewhere?
Saar
  • 193
  • 1
  • 1
  • 4
9
votes
1 answer

Can IIS serve my .NET app over the QUIC protocol?

We have a super chatty (ajax) html 5 app (gmail-like in its construction, tons of js). The reading of QUIC sounds interesting. https://en.wikipedia.org/wiki/QUIC Can IIS (or any .NET hosting engine) support QUIC? If IIS/Win can't do it, can I do it…
Jonesome Reinstate Monica
  • 5,445
  • 10
  • 56
  • 82
9
votes
2 answers

Gracefully take a server out of Azure Load Balancer (drain stop)

We have an application deployed to Azure IaaS VMs, served by IIS. In order to install updates, we need to take each machine out of the load balancer, one by one. Before moving to Azure, we were using Microsoft NLB which has the function to DRAIN…
nulldotzero
  • 143
  • 1
  • 1
  • 8
9
votes
4 answers

How to configure a Web.Config file to allow custom 404 handling while still displaying on-page 500 error detail?

To customize 404 handling and based on the hosting company's suggestion, we are currently using the following web.config setup. However, we quickly realized that with this configuration, any page error (500 error) are also getting redirected to…
Mark
9
votes
1 answer

The configSource file 'connections.config' is also used in a parent, this is not allowed.

Question: I face the following situation: A ASP.NET .NET 4.0 web-application deployed on machine "vmsomething". The web-application running on IIS 7.5 resides in d:\webs\myapplication on vmsomething. The application's config…
Quandary
  • 1,024
  • 4
  • 19
  • 36
9
votes
1 answer

how to configure IIS 7 so partial content requets/range requests on mp4 static files work.

I need help on how to setup IIS 7 so it can handle partial requests/range requests for serving mp4 files so Chrome can position seek and loop video. From what I have read IIS is supposed to support this out of the box, but my setup does not appear…
axawire
  • 91
  • 1
  • 3
9
votes
2 answers

Excluding a folder from deployment and stopping additional file removal

Using Web Deploy on a Windows 2012 Server, if a deployment has a folder full of user generated content I exclude it from publishing in the .pubxml file with: somefoldername If you use the…
Polynomial
  • 191
  • 1
  • 4
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
9
votes
2 answers

How can I change the IIS default document order using Powershell?

How can I make sure default.aspx is the first default document for my IIS website? I have tried: Add-WebConfiguration //defaultDocument/files "IIS:\sites\Default Web Site\MyWebSite" -atIndex 0 -Value @{value="Default.aspx"} but if default.aspx is…
shamp00
  • 193
  • 1
  • 6
9
votes
2 answers

IIS 7.0: unwanted automatic redirect to HTTPS

Situation: WinServer 2008 R2 with IIS 7.0 Default Web Site with the following bindings: HTTP on port 80 for www..com and HTTP on port for .com, as well as HTTPS on port 443 No redirects (only a wordpress URL rewirte to get rid of…
Philip Allgaier
  • 268
  • 1
  • 5
  • 18
9
votes
3 answers

How do I install IIS management console?

I just installed Windows 7 Enterprise along with some development tools. I didn't see IIS (the management console) anywhere in the start menu. I went to Turn Windows Features On or Off and saw that indeed IIS was present. Even http://localhost/…
Andrew Arnott
  • 435
  • 1
  • 4
  • 11
9
votes
3 answers

Windows authentication to IIS on local server with fully qualified url

I have a web application set up in IIS 7 configured with Windows Authentication. I can authenticate to the machine via it's fully qualified url from any other machine and it uses the proper Domain. However, when I try to connect to the machine from…
roviuser
  • 255
  • 1
  • 2
  • 6