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

Are there any issues with having multiple IIS websites pointing at the same folder?

I have a website that a number of customers are using to host their sites. They each have their own domain name, but are using the same hosted service. Is it better to have them run off the same IIS website with all the host headers on that site,…
Glenn Slaven
  • 2,400
  • 2
  • 30
  • 42
10
votes
10 answers

How do you deploy your .NET Web Application? (Recommendations, please!)

We've recently upgraded our ASP.NET Website to a Web Application and we're shocked by the sudden leap in difficulty when deploying it. Considering how common a task this must be, I was wondering what plug-ins/software people use to deploy a rapidly…
Django Reinhardt
  • 2,286
  • 3
  • 38
  • 58
10
votes
6 answers

Windows Process Activation Service Failing - Windows 10

The Windows Process Activation Service (WAS) will not start on my Windows 10 PC anymore. As a result, IIS won't start. I'm not quite sure when it happened, but likely in the last month. During startup, I now get a series of 4 error events in the…
Glen Little
  • 455
  • 3
  • 7
  • 17
10
votes
1 answer

Windows Server 2012 R2 IIS 10 / HTTP/2

We're currently running Windows Server 2012 R2 for our web server, using IIS 8.5. Is it possible to upgrade that to IIS 10 for HTTP/2 or otherwise enabled HTTP/2 on our current install? Thanks, Matt.
Matt Cowley
  • 265
  • 2
  • 3
  • 11
10
votes
2 answers

IIS does not set X-FORWARDED-HOST

I have an IIS server [on WinServer 2016] that acts as a reverse proxy for a few Kestrel web servers. Right now I am trying to setup IIS to forward all X-Forwarded-* headers. For X-Forwarded-For and X-Forwarded-Proto headers everything works fine but…
Volodymyr Usarskyy
  • 201
  • 1
  • 2
  • 5
10
votes
2 answers

alert when a server is out of load balancer

We have a number of sites in a number of environments. Many of the environments are load balanced with two web servers (and in some cases two app servers). Twice in the past two months we've run into a situation in which a server was inadvertently…
mhenry1384
  • 535
  • 6
  • 15
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
  • 307
  • 1
  • 3
  • 14
10
votes
3 answers

Wordpress on IIS replication with robocopy

We setup a wordpress environment on 4 IIS servers. We're considering using a scheduled task triggering a robocopy script to replicate the wordpress directory every 5 minutes. What are the opinions on such an approach ? Has anyone ever used this or…
joebegborg07
  • 869
  • 5
  • 16
  • 24
10
votes
1 answer

Security Wordpress on IIS hosted sites.

Since yesterday I,ve got strange things happening on one of my websites. The index.php of my wordpress site on IIS changed from 1 kb to 80 KB. Also map.xml and sitemap.xml are new in the directory. Some additional files are also found in…
Lt Lev
  • 101
  • 5
10
votes
3 answers

Stopping IIS websites permanently with PowerShell

Stopping websites using Stop-Website is, apparently, not the same as stopping them using the IIS Manager. Stop-Website 'Some site' iisreset.exe # site is started again Using IIS Manager, the state is the same after a reset/reboot. I guess stopping…
Bergius
  • 203
  • 2
  • 7
10
votes
5 answers

Fixing the IIS tilde vulnerability

One of our IIS servers (IIS 7.5, Server 2008 R2) is apparently "vulnerable" to the tilde Short Filename disclosure issue. However, I'm having a hard time actually fixing the issue. So far, I've Disabled 8.3 filenames, stopped the web server,…
KenD
  • 1,147
  • 2
  • 17
  • 37
10
votes
4 answers

Does IIS 8.5 support wildcard host header binding?

I know that IIS versions 7.5 and earlier do not support wildcard host header bindings. Have they added it in the latest version (8.5)? I see that it finally supports SNI and wildcard binding (*.mydomain.com) seems like it would be a related…
Craig Quillen
  • 245
  • 1
  • 3
  • 7
10
votes
4 answers

Editing/Setting Mime Types with Powershell?

So I was wondering if there is a specific way to change/edit a mime type in IIS 7.5 using powershell? So far I have come across solutions to add mimetypes such…
Orbital
  • 191
  • 1
  • 1
  • 8
10
votes
2 answers

How can I assign active directory permission to the default app pool identity

How can I assign active directory permission to the default app pool identity [IIS APPPOOL{application pool name}]? I am trying to do this to enable a web application query active directory groups, users and check the existence of a particular user…
user2384219
  • 103
  • 1
  • 1
  • 4
10
votes
2 answers

Is it possible to log additional HTTP headers in IIS logs?

I need to analyze logs for Exchange and would like to get additional headers saved such as MS-ASProtocolVersion Is is possible to configure IIS to log these additional headers? POST…
makerofthings7
  • 8,911
  • 34
  • 121
  • 197