Plesk server security and maintenance: a practical checklist
In this article10 sections
Plesk is a popular control panel for web servers on both Linux and Windows. It makes running websites, mail, databases and customers manageable through a single interface, and like any panel it concentrates risk: one set of login pages, one set of services, and many websites on the same machine. A weakness in any one site, or a missed update, becomes a problem for the whole server.
This is the checklist I work through on a Plesk server that I run or take over. It covers a server on Linux; the principles hold on Windows, with different tools. Plesk changes its menus between versions, and I could not verify every menu label against Plesk’s own documentation for every release, so treat the names below as pointers: search for them in your panel and check Plesk’s documentation for your version before relying on a detail.
1. Updates: the panel, the operating system, and the sites
Plesk itself. Open Tools & Settings and look for Updates. Plesk releases updates frequently, and there are settings for how automatic updates behave. For a production server, make sure automatic updates are on for at least security updates, and check the update log from time to time, because a failed update that nobody notices is how servers fall behind. Plesk drops support for older operating system versions as they reach end of life, so know the end-of-life date of your OS and plan the upgrade before updates stop.
The operating system. Apply updates regularly, and reboot for kernel updates in a maintenance window:
sudo apt update && sudo apt upgrade # Debian / Ubuntu
sudo dnf upgrade --refresh # AlmaLinux / Rocky
The sites. Outdated WordPress, plugins and scripts are how most servers are compromised. Plesk’s WordPress Toolkit shows every WordPress installation in one place, with their versions, available updates and security status, and can apply updates automatically. Use it, and treat a site that cannot be updated (abandoned plugin, old theme) as a known risk.
2. Access to the panel
- Use strong, unique passwords for the administrator and every subscription owner, and a password manager.
- Turn on two-factor authentication. Current Plesk versions support it for the administrator and for customers; enable it for every administrator.
- Restrict who can reach the panel. If your team has fixed addresses, limit access to the panel port (8443) in the firewall, or use the panel’s own option to restrict administrative access by address if your version offers one. If you cannot restrict it, make sure brute-force protection is on (below).
- Give each person their own login and remove accounts when people leave. Review the list of administrators and additional users now and then.
- SSH: key-only, with no direct root login (see hardening SSH).
3. Fail2Ban, the firewall and ModSecurity
These are three layers, and each does a different job.
Fail2Ban watches logs and bans addresses that fail repeatedly. In Plesk Obsidian it is installed by default, and its settings are under Tools & Settings, in the Security group, as IP Address Banning (Fail2Ban). Check that it is turned on and review the jails (SSH, the panel, mail, WordPress and others) rather than assuming. Add your own address to the ignore list, so a mistyped password does not lock you out. Remember what it cannot do: it blocks addresses, it does not stop an attacker who uploads malicious code through a vulnerable plugin.
The firewall. Plesk offers a firewall component you can install and manage from the panel, and your provider may offer a network-level one. Whichever you use: deny by default; allow only the ports you serve (80, 443, mail ports if you host mail, SSH, and the panel port as restricted above); keep databases closed to the internet. List what listens with sudo ss -tulpn and close anything you cannot explain.
ModSecurity, the web application firewall, is available through Tools & Settings (look for the Web Application Firewall item). It inspects requests against a rule set. Start in detection-only mode, watch the log for a week for false positives (checkout, forms, admin pages), add exceptions, then switch to blocking. Keep the rule set updated.
4. PHP: remove what is out of date
Plesk lets each subscription use its own PHP version and handler. Review which versions are installed and which subscriptions use them:
- Remove versions that no longer receive security fixes, after moving the sites that use them (see upgrading PHP on a live site without breaking it).
- Prefer PHP-FPM as the handler for new sites: it isolates each site’s processes and limits their resources.
- Set sensible limits for memory, execution time and uploads per subscription, rather than one huge value for all.
5. Certificates
The Let’s Encrypt extension issues and renews free certificates per domain, including wildcards when DNS is managed in Plesk. Check that renewals succeed: look at the extension’s status and the panel’s notifications, and see SSL certificate problems: how to diagnose and fix when one fails. Secure the panel’s own hostname with a trusted certificate as well, so staff are not trained to click through certificate warnings.
6. Mail
Plesk’s mail service sends and receives for every domain on the server, which makes it a target for spam abuse. Set limits and authentication:
- Outgoing mail limits (in the mail server settings) per hour for domains and mailboxes, so one compromised mailbox cannot send thousands of messages and get your address blocklisted.
- SPF, DKIM and DMARC for every domain, with a PTR record for the mail address set at your provider (see SPF, DKIM and DMARC and reading email bounces).
- Watch the mail queue, in the panel’s mail queue view or with
postqueue -p. A queue that suddenly grows is almost always a compromised account or script. - Spam filtering turned on, with its settings reviewed.
7. Backups you have restored
Plesk’s Backup Manager schedules backups of the server or of individual subscriptions, and can send them to remote storage. Configure it so that:
- Backups run on a schedule with a retention you can afford.
- A copy leaves the server, to remote storage on another network or provider. A backup that lives on the same disk is lost with the disk.
- Mail and databases are included.
- You test a restore of a whole subscription to a spare location every few months, and time it. The first time you restore should not be during an emergency.
8. Monitoring and repair
- Monitor from outside the server (sites, the panel, mail ports, DNS) and alert on disk space and memory (see monitoring a small server).
- Use Plesk’s built-in health and notification features, with the notification contact pointing at an address someone reads.
- Know the repair tool. Plesk includes a command-line repair utility (
plesk repair) that checks and fixes common problems with the panel, its databases and its configuration. Read its help for the options in your version before running it on a production server, and take a snapshot first. - Know where the logs are: the panel’s logs under
/var/log/plesk, each site’s logs in its own logs folder, and the system journal.
9. A routine you can keep
Weekly: check update notifications, the Fail2Ban and ModSecurity logs, the mail queue and the backup status. Monthly: apply operating system updates and reboot if needed, review administrators and subscriptions, check PHP versions in use, review WordPress Toolkit’s security status, and check certificate renewals. Quarterly: do a restore test, review firewall rules and listening services, and check that every alert goes to someone who will see it.
If you are weighing Plesk against cPanel, the same discipline applies to both; the equivalent for the other panel is in the cPanel and WHM security checklist. If you are moving between them, read how to plan a cPanel and Plesk migration.
When it is worth getting help
A Plesk server is easy to run when it is new and hard to run well three years later. If yours has not been reviewed, or you run a hosting business on it, a structured pass with a written list of findings is the quickest way to find what matters. I work with Plesk, cPanel, DirectAdmin and CloudLinux servers.
You can see my profile on Upwork, or read about hosting platform setup.