Solved

About IIS application pools

Posted on 2014-12-17
2
112 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 26

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
A procedure for exporting installed hotfix details of remote computers using powershell
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

746 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now