The IIS server can be used independently as a Web server or with compatible tools. IIS supports multiple Web Services, in particular, there are a lot of Web sites on a server of a VM. How can we ensure that each site is independent from each other and does not affect other sites because of faults on some Web sites? It is a good solution to specify the IIS application pool for different working processes.
(1) Create an IIS application pool
Open IIS manager, expand local computer, right-click application pool, and select new> application pool ". In the application pool Name box, enter a new application pool name. If you select "use existing application pool as template", you can select the corresponding application pool in the "application pool name" list and click "OK.
(2) assign an IIS application pool
In "IIS manager", right-click the site for which you want to assign the IIS application pool, and then click "properties ". On the "home directory" tab in the properties Panel of the site, select the created IIS application pool from the "application pool" drop-down list. If all options are gray, click the create button to enter the application name, and then in the application pool list box, select and assign the IIS application pool for the website.
(3) collection of IIS application pool
With the "recycle" function, you can flexibly customize how to restore system resources for IIS resources. Open the "IIS console" and click "+" to expand the Local Computer and application pool ". Right-click the IIS application pool you want to recycle and choose properties. The Properties dialog box for the IIS application pool appears, click the recycle tab under which you can set process recycle and memory recycle. All these settings are set as needed.
By configuring the IIS application pool optimization measures, the Web server can be installed with ease and its performance will be greatly improved.