You created your first Plesk customer in a hurry — “Add Domain” → next → next → next. It worked. Six months later there are ninety customers, each with whatever defaults the panel happened to suggest on the day they were provisioned. PHP versions are all over the map. Three customers got SSH access because the wizard remembered the checkbox from the last session. Two are above their disk quotas and nobody noticed because the quotas were never set. The fix should be “look at the plan, tighten it, propagate” — except there is no plan, just ninety subscriptions that all need to be touched by hand. Hosting plans are the difference between an audit that takes five minutes and one that takes a week.
What’s happening
A Plesk hosting plan (aka subscription plan) sits below a reseller plan. Where a reseller plan caps what a whole agency can sell, a hosting plan caps what a single end customer gets — one or more domains under their subscription, the disk and bandwidth allowed, the PHP versions they can pick from, the features enabled (Git, Docker, WP Toolkit, FTP, SSH chroot, etc.), the backup window, and the mail filtering posture. Every customer subscription Plesk creates is based on a plan. The plan is the only place the limits live; the subscription is just a pointer plus per-customer overrides. Change the plan and Plesk offers to propagate; accept and every subscription based on it inherits the new limits. The two failure modes are: (1) no plans at all, every subscription is custom — every change is N visits; (2) too many plans, each customer has a bespoke tier — same outcome with a more confusing UI. The right shape is three or four plans (starter, business, pro, pro-plus) that cover ninety-five percent of customers, with documented overrides for the long tail.
How to verify
List the existing service plans on the panel:
plesk bin service_plan --list
# starter
# business
# pro
# pro-plus
# custom-acme-corp
Show the full configuration of one plan:
plesk bin service_plan --info business
Count the subscriptions on each plan — if custom-* plans exceed five percent of total, you’ve drifted:
plesk db -e "
SELECT t.name AS plan, COUNT(*) AS n
FROM Subscriptions s
JOIN Templates t ON s.plan_id = t.id
GROUP BY t.name
ORDER BY n DESC;
"
Find subscriptions that have been overridden (Plesk marks is_locked = 0 on the override and template_locked = 0 on the subscription itself when the customer or reseller deviates from the plan):
plesk db -e "
SELECT d.name AS domain, t.name AS plan, s.template_locked
FROM domains d
JOIN Subscriptions s ON d.webspace_id = s.id
LEFT JOIN Templates t ON s.plan_id = t.id
WHERE s.template_locked = 0;
"
Any subscription with template_locked = 0 will NOT receive plan updates and is invisible to plan-level rollouts.
The fix
Define the plans once as code and apply them to the panel. The example below provisions four tiers used by a typical agency reseller; copy/edit for your own SKUs.
#!/usr/bin/env bash
set -euo pipefail
create_hosting_plan() {
local NAME="$1"
local OWNER="$2" # 'admin' or reseller login
local DISK="$3" # bytes; -1 = unlimited
local BANDWIDTH="$4" # bytes/month
local MAX_DOM="$5"
local MAX_SUBDOM="$6"
local MAX_MAILBOX="$7"
local MAX_DB="$8"
local MAILBOX_QUOTA="$9" # bytes per mailbox
local PHP_VERSIONS="${10}"
local FEATURES="${11}"
local SSH_ENABLED="${12}" # true | false
plesk bin service_plan --create "${NAME}" \
-owner "${OWNER}" \
-disk_space "${DISK}" \
-max_traffic "${BANDWIDTH}" \
-max_dom "${MAX_DOM}" \
-max_subdom "${MAX_SUBDOM}" \
-max_box "${MAX_MAILBOX}" \
-max_db "${MAX_DB}" \
-mbox_quota "${MAILBOX_QUOTA}" \
-php true \
-php_handlers "${PHP_VERSIONS}" \
-features "${FEATURES}" \
-file_manager true \
-webstat true \
-manage_subdomains true \
-manage_dns_settings true \
-manage_log true \
-manage_anonftp false \
-manage_php_safe_mode false \
-ssh "${SSH_ENABLED}" \
-ssh_jail true \
-anonftp false \
-webmail true \
-mailing_lists false
}
# starter — single small WordPress site, shared mail
create_hosting_plan starter admin \
$((5 * 1024**3)) \
$((50 * 1024**3)) \
1 5 10 5 \
$((1 * 1024**3)) \
"php-8.1-fpm,php-8.2-fpm" \
"wp-toolkit,letsencrypt" \
false
# business — single business site, modest mail volume
create_hosting_plan business admin \
$((20 * 1024**3)) \
$((250 * 1024**3)) \
3 25 50 25 \
$((5 * 1024**3)) \
"php-7.4-fpm,php-8.0-fpm,php-8.1-fpm,php-8.2-fpm,php-8.3-fpm" \
"wp-toolkit,letsencrypt,git-deploy,smart-updates" \
false
# pro — multi-site customer with developer tooling
create_hosting_plan pro admin \
$((100 * 1024**3)) \
$((1024 * 1024**3)) \
10 100 200 100 \
$((10 * 1024**3)) \
"php-7.4-fpm,php-8.0-fpm,php-8.1-fpm,php-8.2-fpm,php-8.3-fpm" \
"wp-toolkit,letsencrypt,git-deploy,smart-updates,docker,node,ruby,python" \
true
# pro-plus — high-traffic e-commerce or SaaS frontend
create_hosting_plan pro-plus admin \
$((500 * 1024**3)) \
$((5 * 1024 * 1024**3)) \
25 -1 -1 -1 \
$((25 * 1024**3)) \
"php-7.4-fpm,php-8.0-fpm,php-8.1-fpm,php-8.2-fpm,php-8.3-fpm" \
"wp-toolkit,letsencrypt,git-deploy,smart-updates,docker,node,ruby,python,modsecurity" \
true
plesk bin service_plan --list
A new customer subscription is then a single CLI call. The login becomes the customer’s panel login, and the first domain creates the webspace under the chosen plan:
plesk bin subscription --create example.com \
-owner admin \
-plan-name business \
-ip 203.0.113.10 \
-login customer-example \
-passwd "$(openssl rand -base64 18)" \
-external-id "acme-corp" \
-notify false
Updating a plan and propagating it to every existing subscription:
# Bump 'business' mailbox quota from 5 GB to 10 GB
plesk bin service_plan --update business \
-mbox_quota $((10 * 1024**3))
# Apply to every subscription on this plan
plesk bin service_plan --sync-subscriptions business
# Confirm
plesk db -e "
SELECT d.name, t.name AS plan, s.mbox_quota
FROM domains d
JOIN Subscriptions s ON d.webspace_id = s.id
JOIN Templates t ON s.plan_id = t.id
WHERE t.name='business';
"
A subscription that has drifted to template_locked = 0 will not pick up the sync. Two options: either re-lock it (it inherits the plan’s current values, overwriting per-subscription overrides), or move it to a custom plan that owns its limits explicitly.
# Re-lock and inherit the plan
plesk bin subscription --update example.com -lock-template true
# OR move to a custom plan tier for that one customer
plesk bin service_plan --create custom-example-com \
-owner admin \
-clone-from pro
plesk bin subscription --update example.com -plan-name custom-example-com
The audit that takes five minutes is then this query against the plan table:
plesk db -e "
SELECT t.name AS plan,
COUNT(*) AS subs,
ROUND(AVG(t.disk_space)/1024/1024/1024) AS avg_disk_gb,
ROUND(AVG(t.max_traffic)/1024/1024/1024) AS avg_bw_gb
FROM Subscriptions s
JOIN Templates t ON s.plan_id = t.id
GROUP BY t.name
ORDER BY subs DESC;
"
Hosting plans, like reseller plans, are the place where governance lives — pricing, quotas, allowed PHP versions, and feature surface are described once and applied uniformly. Custom one-off subscriptions should be the exception, not the rule.
Operate the Plesk fleet on Stack Harbor’s managed Cloud Compute with plan-template change reviews and quota-drift alerts handled under environment management — or bring us your existing tiers and we’ll codify them.