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

Installing to Default Website Moves Application Pools

I'm having a problem installing a web application into IIS 7.5. I'm using a standard web application installer build with VS2010, but when I install the application I want it to be placed at the root of the site (instead of inside a virtual folder).…
debracey
  • 192
  • 10
2
votes
1 answer

How can I host an ASP.NET (3.5) as a child application of the default website (4.0)

I am running an application in IIS 7 as "The Default Web Site" this application is configured to run under an application pool that is running as a .NET 4 application. As a child application of the Default Web Site I have another ASP.NET…
Nick
  • 145
  • 1
  • 1
  • 7
2
votes
1 answer

Identifying HTTP requests

So I'm looking to remove IIS from a few servers we used to have WSUS running on but machines are still contacting it (albeit very few) and I can't fathom where some of the requests are coming from. For instance, a local client is requesting 2 shares…
peblos
  • 23
  • 1
  • 3
2
votes
5 answers

Multiple Sites on One IIS Server Need Different Outgoing IP Addresses

I have an IIS server set up with multiple web sites, each with their own IP address. It works fine for routing incoming traffic to the right site. However, outgoing traffic all appears to come from the IP address of the physical machine, not the…
user10805
2
votes
1 answer

Overwriting entire IIS configuration

Somehow I managed to fix Mixed error pages in IIS 7.5 on my Windows 7 x64 dev box, which is also IIS 7.5. Or I should rather say "it works" instead of "I fixed it", since I don't really know what was wrong in the first place. I copied my…
Mauricio Scheffer
  • 831
  • 2
  • 10
  • 23
2
votes
2 answers

PHP Files and Folders permissions under IIS

I have the company's wordpress site under IIS 7.5 (Windows 2008R2 SP1) but I still have file access problems: Under .NET Websites it's usual the IIS_IUSRS the user used by IIS to perform tasks on behalf of the website user, but is it when using PHP…
balexandre
  • 567
  • 2
  • 13
  • 26
2
votes
1 answer

FTP - IIS 7.5 - Stop / Deny Directory Listing

FTP site is hosted in IIS 7.5. Anonymous users are allowed. I want to restrict users to browse the directories in the FTP site and allow them only if they know the full path. Can it be achieved ? If so how?
Sundeep Arun
  • 23
  • 1
  • 3
2
votes
1 answer

Conditionally set Content-Disposition header

I have an image gallery on a IIS7 server. I would like to have a button to force download the currently visible image. Maybe something like setting an url parameter: http://website.com/images/img.jpg?download Globally detect this parameter and then…
Sindre Sorhus
  • 123
  • 1
  • 4
2
votes
1 answer

Hosting multiple websites on same server (IIS 7.5, Windows 2008)

I have created 3 web sites on IIS 7.5, Windows 2008 server DefaultWebSite www.site1.com www.site2.com updated the bindings with IP address and domain names for site1 and site2 accordingly, but when I browse (external browser) www.site1.com and…
Nalaka526
  • 131
  • 3
2
votes
5 answers

Problem with mydomain.com no prefix

Short question is. I have a domain name mydomain.com, we have a company website hosted on an IIS server 2003 configuration. Going to the address bar and typing www.mydomain.com will show my website properly. Typing mydomain.com into the same address…
user10711
  • 432
  • 1
  • 4
  • 9
2
votes
3 answers

Clone Windows 2003 SBS Machine without turning it off

I'm a junior sys admin at a small firm and i just recently have been assigned to a new customer. I went through the normal learning process of getting to know the relatively simple network structure and the requirements of the company. I come…
2
votes
2 answers

Multiple Sites with Different IP Addresses

I'm not an admin so this may seem to be a very simplistic question. Currently, I have ten ASP.NET Web Forms sites on a W2K8 hosted VM - I manage it myself. Right now, all the sites have the same server IP address and I want to change this so that…
IrishChieftain
  • 201
  • 3
  • 12
2
votes
1 answer

Two URLs for a website one with SSL

I have a website in IIS7. It has 3 URLs. www.mydomain.com mydomain.com secure.mydomain.com secure.mydomain.com should be run with an SSL certificate.. Hitting http://secure.mydomain.com should hit the https site. Hitting any of the two other…
Peter
  • 21
  • 1
2
votes
1 answer

IIS6 error"The handle is invalid" when closing the IIS Manager mmc

We have a couple of servers that for some reason, show an error dialog when closing out of the IIS Manager. The error gives absolutely no information, and searches on Google and Bing have returned nothing. The error is shown here: There's nothing…
David Stratton
  • 453
  • 2
  • 10
2
votes
1 answer

Does Windows Update check for IIS activity before restarting Server 2008?

I subscribe to a provider than gives me a virtual private server running Windows Server 2008 R2, from which I host several low-traffic websites. Currently, Windows Update runs automatically on this box and once in a while I will log on and see that…