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
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
449 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
393 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
3answers
7k views

IIS asks for login/pass when accessed using hostname but not when 'localhost' is used. Why?

I have setup IIS on my xp machine and have setup a default homepage (that comes with the IIS installed). It is a help page I think. when I access the page with http://localhost it works fine ...
5
votes
2answers
418 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
1k 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
2answers
243 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
8k 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
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
2answers
12k views

How to change default application in a website in IIS 7.5 on Windows 7

When I pull up http://localhost in a web browser on my computer (Windows 7, IIS 7.5) I get the IIS 7 welcome image. I have a different website that is set up in IIS that I'd prefer to be the default ...
4
votes
3answers
337 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
410 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
378 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
705 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
9k views

IIS 404 error where file exists

I have a fresh VPS installation from my provider (Windows 2008 R2, IIS 7.5). The default web site works fine: http://5.9.251.167/ I created a new website, and binding for http://new.ianquigley.com ...
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
14k 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
594 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
1k 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
1k views

Date header returned by IIS7 is wrong

I am serving an ASP.NET application from IIS 7 but we are experiencing some weird cookie issues. The code works fine in other environments so we are assuming this is specific to this server (related ...
4
votes
2answers
539 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
4answers
2k 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
5k 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
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
507 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 ...
4
votes
3answers
2k views

IIS 7 Backup Strategy

I did notice this post but am looking for more specifics. I have 2 servers running Windows 2008 Server Web Edition and am running websites on both of them. I would like to be able to mirror IIS ...
4
votes
2answers
5k views

Enabling REST (GET, POST, PUT, DELETE) support in iis 6

I want to enable REST support in iis 6. My Googling has shown me that i can achieve PUT requests by [enabling WebDav] , however enabling the Delete method still eludes me. I've seen suggestions about ...
4
votes
4answers
163 views

What are the best methods for enumerating Windows server usage history?

With the push to save money and save AC power in the data center, my company has the need to find Windows (various OS - windows 2000, 2003 mainly) servers that are not being used much. I have found ...
4
votes
1answer
328 views

IIS re-write from http to https only for subdomains of one domain only

I have an IIS7 web server with several sites running. Some of the sites are sub-domains of one domain and the others are totally separate domains. I want to use IIS re-write to redirect all the sub ...
4
votes
2answers
177 views

Why do caught exceptions cause IIS or even entire Windows Azure server to fail?

I have a Windows Azure applicaion (web-role) which I'm having serious problems with. If there are problems with one of my databases which the application connects to (in this case, SQL Azure ...
4
votes
2answers
4k views

Is it possible to configure the location of “Temporary ASP.NET Files” folder in IIS?

Under IIS7.5 after switching pool identity to domain user I got this error: "The current identity (domain\username) does not have write access to ...
4
votes
1answer
461 views

Migrate an IIS 7 website from one server to IIS 7.5 on another

We have an IIS 7 website running on our live server and are in the process of setting up a new development server which has IIS 7.5 running. Is there any easy fast way to take the IIS 7 website and ...
4
votes
1answer
848 views

IIS 7.5 Basic Authentication

I am having problems with Basic Authentication in IIS 7.5. I have: enabled Basic Authentication on my site disabled Anonymous Authentication on the same site Added an IIS user and allowed said user ...
4
votes
3answers
2k 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 ...