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 [iis7], [iis7.5], etc.

learn more… | top users | synonyms

5
votes
1answer
8k views

IIS 7 What does Physical path credentials logon type mean?

I am trying to understand an aspect of IIS security that I can't figure out. I have an internal (not on the internet) application that runs under IIS. This specific application has an app pool ...
5
votes
2answers
4k views

CPU Limits for Application Pools in IIS 7.5

I see that in iis 7.5 I can set a CPU % utilization limit for a specified amount of time for an application pool. I can have also have it kill the worker process if this limit is violated. If tell it ...
5
votes
3answers
3k views

Is there a ProxyPass equivalent for IIS?

I need to redirect one SSL site to another SSL site. For example, I control https://sitea.michael.com but I want the traffic there to be forwarded to https://siteb.notinmycontrol.com I don't control ...
5
votes
1answer
350 views

When does IIS log a request?

This sounds silly, but when do they log requests? I have a web application, and about 500 HTTP proxies that will load up that application. But problem is sometimes (and this morning a lot), the proxy ...
5
votes
1answer
1k views

Perfmon: which counter identifies that threads are waiting?

While load testing an ASP.NET app, we find that the pages are taking 20-30 sec under heavy load. We suspect this is because the pages are waiting for database calls or web services. Is there a ...
5
votes
1answer
2k views

Import IIS6 website configuration into IIS7

I have many websites hosted on IIS6 and I want to migrate them to IIS7. It is enough if the basic configuration (folder, virtual folders inside, hostheaders, ) is migrated. a great part of the ...
5
votes
5answers
2k views

IIS Strategies for Accessing Secured Network Resources

Problem: A user connects to a service on a machine, such as an IIS web site or a SQL Server database. The site or the database need to gain access to network resources such as file shares (the most ...
5
votes
1answer
1k views

Powershell import-module webadministration

Every time I execute this command invoke-command -computername REMOTEPC -scriptblock { import-module WebAdministration; new-item "$env:systemdrive\inetpub\testsite" -type directory; New-WebSite -Name ...
5
votes
1answer
503 views

IIS no longer trusts any CAs for client authentication

Yesterday the IIS on our build server (running Windows Server 2012) started refusing our clients' certificates. The certificates are signed using our own self-signed CA cert that has been added to ...
5
votes
2answers
406 views

Configure IIS Web Site for alternate Port and receive Access Permission error

When I configure IIS to run a Web site on Port 1414, I get the following error: --------------------------- Internet Information Services (IIS) Manager --------------------------- The process ...
5
votes
2answers
427 views

How do I secure a .NET (MVC) website prior to launch?

I have a .NET (MVC2) website that is in development. I have deployed it to some production infrastructure, and tested it over the internet with anonymous access (as it will be once it is live) and it ...
5
votes
3answers
13k views

How do I configure IIS to allow access to network resources for PHP scripts?

I am currently working on a PHP front-end that joins together a series of applications running on separate servers; many of these applications generate files that I need access to, but these files ...
5
votes
2answers
2k views

IIS 7 rewriting subdomain to point at a specific port

Having installed Team Foundation Server 2010 on Windows Server 2008, I need an easy URL for our developers to access their repositories. The default URL for the TFS repositories is ...
5
votes
4answers
9k views

how to enable iis 7 dynamic content compression?

I've turned on dynamic content compression in IIS 7, but Fiddler is showing that my dynamic pages are still being served without content-encoding: gzip. Static content compression is working fine on ...
5
votes
0answers
676 views

IIS 7.5 - Disable Overlapped Recycle property not being obeyed when web.config is updated

I have a site which holds an exclusive lock on some resources. I used the .NET Application_Start and Application_End events to aquire and release the lock on these resources at the appropriate time. ...
5
votes
2answers
254 views

IIS sets http header Expires to -1, how do I override this with mod_expires

I'm using an IIS website with a Apache HTTP reverse proxy (mod_proxy with ProxyRequests Off). I want to control the expires headers in apache (don't ask), but IIS is setting the header Expires: -1. ...
4
votes
5answers
9k views

IIS7: How to import public key and private key as two seperate files?

We have a client who is directing their traffic to our web servers and needs us to use their wildcard SSL certificate. They gave it to me in two pieces though, one is the public key (.cer) and another ...
4
votes
1answer
10k views

Unable to get anything except 403 from a .Net 4.5 website

Scenario: Clean Server 2008 R2 Install with IIS Role. Installed Framework 3.5 (Server Features) Installed Framework 4.5 RC (MS Download) executed ...
4
votes
8answers
5k views

What is the best Web Application Firewall for IIS? [closed]

What is the best Web Application Firewall(WAF) for IIS? What makes it better than the others? How useful is it at blocking attacks against poorly written code, otherwise known as an Intrusion ...
4
votes
3answers
2k views

Is it possible to bind domain names to VisualSVN server and IIS on the one box without using a port?

I’ve got a machine running VisualSVN Server for SCM and IIS which hosts a web front end to perform some repository management tasks. Ideally, I’d like to bind a different domain name to each but it ...
4
votes
3answers
3k views

How can I renew SSL on IIS7 with No Downtime?

Our Windows 2008 IIS7 web server has a wildcard SSL that is about to expire. The CSR that is automatically generated is too long and not accepted by my CA - nothing I can do about that. My main ...
4
votes
5answers
3k views

Enabling gzip compression in IIS and having it take effect

We've enabled Gzip compression on the server in IIS (IIS6). We've run iisreset. It just doesn't want to take effect. We had this before on another server, and after a little while, it just started ...
4
votes
3answers
2k views

Elegantly Enforcing SSL in IIS 6.0

I have a website running under IIS which has an SSL certificate applied. We would like to enforce HTTPS usage for the website which is easily done by checking the "Require Secure Channel" box, but ...
4
votes
3answers
343 views

Run two separate web servers on a single VPS

A friend and I are considering paying a monthly fee for our own VPS. We currently have our own individual hosting, but it is limited and does not allow us to do things like schedule tasks and install ...
4
votes
1answer
10k views

How do I get a list of websites from iis showing the host header value, description and home folder location?

I am using iis win2k3. How do I go about extracting an adhoc list of websites, displaying the host header value, description and web folder location? The export list only shows the header and ...
4
votes
2answers
465 views

Should I delete the .pfx or .cer files after importing the SSL cert?

When provided, I have to import into IIS on Windows Server (2008 R2) using either a .pfx or .cer to get SSL certs ready for use. My question is, is should I delete these files after I have ...
4
votes
1answer
477 views

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

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 ...
4
votes
2answers
746 views

Double Hop Window Authentication

I've got a problem getting Windows Authentication (Kerberos) to work when passing credentials from the user, to IIS then from IIS to SQL. I have setup SPN's for SQL, and set the IIS server account up ...
4
votes
3answers
3k views

Can you import a SSL certificate from another Windows IIS 7 server?

Usually I re-request the CSR and install the certificate when I move servers. Was hoping if there was a faster way, where I can just export/import a SSL certificate when I move my website to another ...
4
votes
3answers
5k views

How can I rewrite urls (ala mod_rewrite) for free in IIS 6?

I've got an application I wrote (with cakephp) for the lamp stack and I'm moving it to a windows server. I'm having a lot of trouble with apache for windows (memory and cpu issues) so I would like to ...
4
votes
1answer
3k views

Windows IIS Authentication not working with FQDN but is without it

I have an Intranet website, not internet, and whenever I go to http://mysite The website accepts my integrated authentication of the logged in user on the computer/client via IE. if I go to the ...
4
votes
3answers
4k views

How to connect to a remote IIS with INETMGR on WIndows 7

I can't seem to find any way to connect to a remote IIS instance with my local INETMGR on my Windows 7 machine. It shows my settings for my local IIS and everything I've tried from clicking various ...
4
votes
4answers
15k views

How do you configure IIS 7 to use a subdirectory as the default document?

So I have a website running on a discount asp.net account, and I put an asp.net mvc app in a subdirectory. If my url is 'www.website.com' and my app is in directory 'sample', then ...
4
votes
4answers
2k views

Multiple SSL certificates to access one ASP.NET application in IIS

1 Hi, I have an ASP.NET application that's currently accessible via a single domain name, with an SSL certificate. We'd like to be able to access the same application via a second domain name. The ...
4
votes
1answer
664 views

iis 7 application pools not starting after installing ibm client access

I have a windows 2008 dev/testing server setup for testing web apps. I just installed ibm client access (v6r1m0) and after my reboot my sites now get a 503 service unavailable error. My application ...
4
votes
1answer
2k views

What does IISReset do in addition to recycling all Application Pools?

And are any of those things not programmatically available (.Net) from Microsoft.Web.Administration?
4
votes
3answers
6k views

How to create a self-signed SSL certificate with subject alternate names (SAN) for IIS websites

Does anyone know how to create a self-signed SSL certificate for use with IIS (7) that has subject alternative names (SAN)s? I need the certificate to be able to validate the hostname AND the IP ...
4
votes
2answers
9k views

Setup IIS 7.5 with multiple website bindings and SSL?

On IIS 7.5 I am trying to achieve this with two websites: Default Web Site is bound to: (blank host header port 80 - http) (blank host header port 443 - https) go.example.com www71.example.com the ...
4
votes
1answer
3k views

How to create self signed wildcard (*.domain.com) certificate

I'm trying to install Dynamics CRM 2011 RC and configure it for Internet Facing Deployment. One of the requirements for this is a wildcard SSL certificate. Since I'm installing development/testing ...
4
votes
1answer
1k views

Make IIS see updated environment PATH variable

We've installed Oracle Express on a Windows 2003 Server and in the process it updated the PATH. We're trying to get IIS to see this change in the PATH but we can't figure it out. We've recycled the ...
4
votes
2answers
549 views

Safe to enable compression C:\WINDOWS\system32\LogFiles

Will it slow down my website if I enable compression on the C:\WINDOWS\system32\LogFiles directory? These files are slowly but surely chewing away drive space and I'd like to slow the expansion. I'm ...
4
votes
1answer
2k views

Exchange 2013 ECP unable to login

I'm so angry that it is possible to get into this situation, but here goes. I had a perfectly operational exchange 2013 server which I was about to commission into production. Before doing so I was ...
4
votes
3answers
3k views

How do I restart a single website in IIS7+ using commandline?

How do I restart a single website in IIS7+ using commandline only? Same functionality as the circled menu item in the image - but from the commandline. Iisreset does not have any options to deal ...
4
votes
4answers
3k views

The RSA key container could not be opened. Windows Server 2008 R2

I am setting up a second asp.net site on our Windows 2008 R2 server. We use a RSA Key Container to encrypt our connection strings. I created a new Application Pool with all the same settings as our ...
4
votes
1answer
6k views

How to install the dynamic content compression component of IIS (both 6 and 7) non interactively?

Any of the following goes as non interactive for me: Command line silent installation Script file Code (.NET, C, VB, whatever) Thanks. EDIT I'd like to stress, that I wish to install the module ...
4
votes
1answer
8k views

Force encoding with IIS 7

I try to force encoding with IIS 7. When I add in the http response headers the key : Content-Type and value charset=utf-8 i got this key content-type : text/html,content-type=utf-8 it's there a ...
4
votes
1answer
2k views

How to check how many users are online?

I administer a ASP.NET website that has decent traffic. In the middle of the day, I sometimes would need to either redeploy the website, change the configuration in the web.config file or make some ...
4
votes
2answers
280 views

Secure IIS/MS-SQL [closed]

I have Windows Server 2008, with IIS 7.5 and SQL Server 2008. I want to install DotNetNuke which is an ASP.NET application. What are the necessary precautions to not to get pwn3d.
4
votes
7answers
561 views

Simple issue regarding date formats

We are hosting a website that when browsed to locally loads up fine but if you browse to it externally you get Conversion from string "1/15/2010 8:46:01 AM" to type 'Date' is not valid. What do I ...
4
votes
2answers
3k views

How to configure IIS wildcards for account subdomains (like Basecamp)?

In effect I'm working on a SaaS application where I want to give subscribers their own subdomain to access their information (in code I will be pulling the first part of the subdomain for use as their ...