Configure the application pool

Source: Internet
Author: User
Http://www.haokucn.com/article/tushu_html/jishulei/iismmc/htm/ca_cfgapppools.htm
Configure the application pool

Key Point: This IIS 6.0 feature can be used only when running in Working Process Isolation Mode.

An application pool is a configuration that links one or more applications to one or more worker processes. Because applications in the application pool are separated from other applications by working process boundaries, applications in an application pool will not be affected by problems caused by applications in other application pools.

By creating a new application pool and assigning websites and applications to it, you can make your server more effective and reliable, and keep other applications available, even if there is a problem with the working process that provides services for the new application pool.
Principles for creating an application pool

Consider the following principles when configuring an application pool:

* To isolate Web applications running on the same computer but belonging to different websites, create a separate application pool for each website.
* To enhance security, configure a Unique User Account (process ID) for each application pool ). Use an account with as few user rights as possible, such as the network service account in the iis_wpg group.
* If a beta and official release version of an application exist on the same server, separate these two versions of applications into two different application pools. In this way, the test version of the application can be isolated.
* As a design consideration, if you want to configure an application to run with its unique set of properties, create an application pool for this application.

Important you must be a member of the Administrators group on your local computer or you must be authorized to perform the following steps. As the best security operation, log on to your computer using an account that is not in the Administrators group, and run the command as an administrator to run IIS manager. At the command prompt, type RunAs/User: administrative_accountname "MMC % SystemRoot %/system32/inetsrv/IIS. msc ".

Create a new application pool

1. in IIS manager, expand the local computer, right-click application pool, point to new, and then click application pool ".
2. In the application pool Name box, enter a new application pool name.
3. If the ID displayed in the "application pool ID" box is not what you want, enter a new ID.
4. In application pool settings, click appropriate settings. If you click "use existing application pool as template", right-click the application pool you want to use as the template in the "application pool name" box.
5. Click OK ".

Assign an application to an application pool

1. in IIS manager, right-click the application for which you want to assign an application pool, and then click Properties ".
2. Click the "virtual directory", "directory", or "home directory" tab.
3. If you are assigning a directory or virtual directory, verify that the "Application name" is filled in. If the "Application name" box is not yet filled, click "CREATE" and enter a name.
4. In the application pool list box, click the name of the application pool for which you want to assign a website.
5. Click OK ".

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.