We will explore two essential components of IIS: websites and Application Pools. Gaining an understanding of these elements will enhance your ability to deploy and manage web applications effectively.

What is an IIS Site?

An IIS Site is like a container that holds your web application. It has several important properties.

Example

You can have multiple sites on the same server, each with different bindings and content.

What is an Application Pool?

An Application Pool (App Pool) is a container for one or more web applications. It defines how the applications run and are isolated from others.

Here’s what it does.

By default, when you create a new IIS Site, IIS also creates a new App Pool for it, but you can change that if needed.

How do IIS Sites and App Pools Work Together?

An IIS Site must be assigned to an Application Pool. That pool is responsible for executing the code in the application and handling incoming requests.

Rule of Thumb: Use one App Pool per site unless you have a good reason to share (e.g., performance tuning or tightly coupled apps).

Rules for Configuration about Application Pool and Sites

Multiple App

Best Practices

Previous Series: Understanding of Internet Information Services – Series I

Next Series: Deploying a Web Application or Web Service in IIS – Step-by-Step – Series III