Solved

About IIS application pools

Posted on 2014-12-17
2
115 Views
Last Modified: 2014-12-17
I am new to IIS 8 (running on windows 2012 R2 an Amazon EC2 server).

I am creating a bunch of websites to migrate to this new server.  Each time a configure a website, IIS creates  a new application pool for me using the name of the website.

Should I allow websites to share the same application pool?   It seems to be a setting that allows me to share settings or something, but I am not sure which settings and what strategy I would use to decide to share or not to share.

I do have some websites that use HTTPS, I do have some that have a lot of visitors and some that have few visitors, not sure what else..
Thanks for any help!
0
Comment
Question by:gdemaria
2 Comments
 
LVL 27

Accepted Solution

by:
Dan McFadden earned 500 total points
ID: 40505448
I recommend that you do not share AppPools.  If you do, any 1 web application in a shared AppPool can crash the entire AppPool and all web apps using the shared pool.

If multiple websites use 1 AppPool, the only "shared" settings are that of the AppPool.  There are no specific website configurations shared among websites using the same pool.

I recommend 1 AppPool per website.  This provides isolation from crashes.  If 1 website crashes, it only takes itself and its AppPool with it.

Having AppPools with the same name as the associated website helps in management of the various sites and associated pools.

Its best to isolate (1 website per pool) websites that are based on PHP, ASP.NET, etc.  This way issues only effect the site itself.  You could, if you wanted to, share AppPools with static websites.  Sites with no dynamically generated content that server only HTML with minimal JavaScript.  There is less of a chance that a static HTML site will crash a pool just from a developer doing something odd in HTML.

Decent reference link:  http://blogs.msdn.com/b/cenkiscan/archive/2012/06/20/iis-best-practices.aspx

Dan
0
 
LVL 39

Author Closing Comment

by:gdemaria
ID: 40505461
I'm convinced - thanks!
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question