• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Plesk & IIS Application / Pools

J

Jon L

Guest
Can anyone shed some light on how Plesk sets up applications and application pools within IIS? Specifically;

- When installing Drupal via the official APS installer, a number of additional applications for the site are created within IIS for the Drupal "sites" folder (and numerous sub folders) and the "tmp" folder. Why and what is doing this?

- Sometimes separate application pools will be created for specific domains but I can't see any settings that are causing this nor any pattern as to when it happens. Though one cause *may* be adding an SSL certificate to the site.

The above has caused us a major issue recently, with files within the "sites" folder being inaccessible which was eventually resolved by deleting the additional applications that had been created. So there is an actual problem here and I'm hoping an explanation of the above points might provide me with some pointers for a permanent resolution.

If it helps, we're currently running Plesk 10.0.0 on Windows Server 2008 R2 with IIS 7.5.
 
This is behavior by design:
Your subscription operates in some Application Pool. It can be shared pool like plesk(default)(2.0)(pool) or dedicated pool. Pool is working under specified user identity - IWAM_xxx. When you are trying to install APS application, Plesk parses APS meta description and provision it in IIS. For every URL mapping described in APS package Plesk creates application in IIS. By default all these applications should be in the same Application pool.

Sometimes separate application pools will be created for specific domains
- looks like you are talking about shared and dedicated pools. By default, all domains are created in shared pool, and if "Use dedicated pool" is enabled in service plan or explicitly enabled in hosting settings for domain - dedicated pool will be created for this subscription.


Additionally Plesk has the following logic: if site created in Application Pool with .NET version 2.0 (for example), then application requires another version of .NET. Plesk will create additional pool for exact version of .NET and this application will be hosted in new pool.
Anyway Identity user for both these pools will be the same so you shouldn't have any security issues here.

If your security issue will be reproduced - plesk check exactly:
* in which pool site hosted
* in which pool applicaiton hosted
* identity of both these pools
* file permissions (for which user permissions are set on file system)
 
Thanks for the reply.

I really need to work out a way to re-create the full problem I'm seeing, but one thing I have noticed and re-created;

- Site is running Drupal, applications for /sites (and 3 sub folders) and /tmp. All are in shared application pool.
- Activate SSL on domain.
- Three of the applications are now running in a new dedicated application pool and the other two (the /sites/all folders) are still in the shared application pool.
- Subscription becomes unsynced from service plan. If you then sync the plan SSL is removed.

Is this the correct behavior?
 
Back
Top