Solved

About IIS application pools

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

This article will review the basic installation and configuration for Windows Software Update Services (WSUS) in a Windows 2012 R2 environment.  WSUS is a Microsoft tool that allows administrators to manage and control updates to be approved and ins…
A procedure for exporting installed hotfix details of remote computers using powershell
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

770 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