On this page
- What is Plesk and when does it make sense?
- Why start from a freshly deployed server?
- How do I prepare the host name and system?
- How do I run the Plesk installer?
- How do I sign in for the first time and add a licence?
- Which ports does Plesk need in the firewall?
- How do I secure the panel and add the first site?
- How do I handle outgoing mail from Plesk?
- How do I keep Plesk updated and fix common problems?
- Questions
What is Plesk and when does it make sense?
Plesk is a commercial hosting control panel that manages web sites, PHP versions, databases, DNS zones, mail boxes and certificates from one browser interface. It suits people who host several sites for themselves or for clients and want each site isolated under its own system user, with one place to issue certificates and take backups. Behind the panel sit familiar programs: nginx in front of Apache, PHP-FPM, MariaDB or MySQL, BIND for DNS and Postfix with Dovecot for mail.
If you only need one site and enjoy the command line, a plain stack such as the LEMP stack guide uses far fewer resources. Plesk pays off once you manage many domains or hand access to people who should never touch SSH.
Why start from a freshly deployed server?
Plesk expects to own the web, database, DNS and mail services, so it refuses or misbehaves on a server where those are already installed by hand. Start from a clean Ubuntu 24.04, Ubuntu 22.04 or Debian 12 image. If your server already runs other software, open the instance page, use the Settings tab and reinstall the image, which erases the disk and shows a new root password on the Overview tab; the steps are in reinstalling an image. Check the supported systems list on the Plesk site before choosing Debian 13, since support for a new release can arrive later than the release itself.
Plan for at least 2 GB of RAM and 20 GB of disk for a small panel; with mail scanning and several busy sites, 4 GB is more comfortable. Add swap on small plans so package installs never run out of memory, as shown in the swap file guide.
How do I prepare the host name and system?
Give the server a fully qualified name that resolves to its address, because Plesk uses it for the panel certificate and for mail headers. Create an A record for panel.example.net pointing at 198.51.100.24 (and an AAAA record for 2001:db8:4f2a::24), as described in DNS records, then set the name and update the system:
sudo hostnamectl set-hostname panel.example.net
hostname -f
sudo apt update && sudo apt full-upgrade -y
sudo rebootAfter the reboot, confirm that nothing already listens on the web or mail ports. An empty result for these ports is what you want before the installer starts:
sudo ss -tlnp | grep -E ':(80|443|25|53|3306) 'How do I run the Plesk installer?
Switch to a root shell and run the one-click installer, which downloads the current stable release with a recommended set of components:
sudo -i
sh <(curl -fsSL https://autoinstall.plesk.com/one-click-installer || wget -O - https://autoinstall.plesk.com/one-click-installer)Keep the SSH session open until it finishes; running it inside tmux protects you against a dropped connection (see the tmux guide). If you prefer to pick components yourself, download the standard installer instead and use its interactive menu:
wget https://autoinstall.plesk.com/plesk-installer
chmod +x plesk-installer
./plesk-installer --web-interfaceThe web mode serves a component picker on port 8447. When the install completes, check the version and services:
plesk version
systemctl status sw-cp-server sw-engine --no-pagerHow do I sign in for the first time and add a licence?
Generate a one-time login link from the shell rather than typing the root password into a browser:
sudo plesk loginOpen the printed link, enter the administrator contact details, set a strong password for the admin user and accept the terms. Plesk then asks about licensing. A fresh install can run on a time-limited trial key, and for long-term use you buy a licence from Plesk or one of its resellers and paste the activation code under Tools and Settings, then License Management. Editions differ mainly in how many domains you may host and which extras are included; compare them on the vendor site and pick what matches your site count. The licence is tied to the server, so if you later move to a bigger plan you transfer or reissue it through the vendor.
Which ports does Plesk need in the firewall?
The panel itself uses 8443 (HTTPS) and 8880 (HTTP), the installer uses 8447, and hosted services need their standard ports. On Ubuntu and Debian with UFW, allow only what you will actually use:
sudo ufw allow OpenSSH
sudo ufw allow 80,443/tcp
sudo ufw allow from 203.0.113.7 to any port 8443,8447 proto tcp
sudo ufw allow 53
sudo ufw allow 587,993,995/tcp
sudo ufw enable
sudo ufw status numberedReplace 203.0.113.7 with your own address so the login page is not open to everyone. Plesk also offers a Firewall extension that manages the same rules from the panel; choose one method and stick to it, because two tools rewriting rules will fight each other. The general approach is in firewall rules.
How do I secure the panel and add the first site?
Under Tools and Settings, open SSL/TLS Certificates and secure Plesk with a free Let's Encrypt certificate for panel.example.net, so the browser warning disappears. Install the Fail2Ban component from Updates if the one-click set did not include it, and enable two-factor login through the authenticator extension from the Extensions catalog. Then create your first subscription under Websites and Domains: Plesk makes a system user, a document root, a PHP handler and optional mail for example.net. After the domain points at the server, tick the free certificate option for the site and redirect HTTP to HTTPS.
How do I handle outgoing mail from Plesk?
Plesk installs Postfix, but port 25 may not be open on your server, so ask support with a ticket before planning to deliver mail directly, and request reverse DNS for panel.example.net the same way. The dependable route is an authenticated relay on port 587: in Tools and Settings, Mail Server Settings, enable the external SMTP relay with the provider host, port 587, user name and password. Add SPF, DKIM and DMARC records too; the SPF, DKIM and DMARC guide explains each one.
How do I keep Plesk updated and fix common problems?
Plesk updates itself through its installer. Leave automatic updates on in Tools and Settings, Update Settings, or run them from SSH:
sudo plesk installer update
sudo plesk repair installation -n
sudo plesk repair all -yThe -n flag only reports problems; drop it to let the repair tool fix them. Logs for the panel live under /var/log/plesk/, and per-site logs under /var/www/vhosts/system/example.net/logs/. If the panel stops answering, restart its two services with sudo systemctl restart sw-cp-server sw-engine. For safety beyond the panel backup, consider the daily backup add-on.
Plans that fit this guide
Base city prices. Every plan includes a dedicated IPv4 address, IPv6, full root and all 18 images.
Questions about Plesk hosting panel
Is Plesk free to use?
No. Plesk is commercial software. A trial key lets you test it, and afterwards you need a paid licence from the vendor or a reseller. Editions mainly differ in the number of domains and bundled extras.
How much memory should a Plesk server have?
Two GB works for a few light sites. Mail scanning, several PHP versions and busy databases push that up, so 4 GB such as A2-4 is a calmer starting point.
Can I install Plesk on a server that already hosts sites?
It is not recommended. Plesk wants to manage the web, database and mail services itself. Reinstall the image from the Settings tab first and migrate the sites into Plesk afterwards.
Which port is the Plesk login on?
HTTPS port 8443, for example https://panel.example.net:8443. Port 8880 serves the same panel over plain HTTP and is better left closed.
How do I reset the admin password?
Run sudo plesk login to get a one-time link, sign in, and change the password from your profile. You can also set it directly with sudo plesk bin admin --set-admin-password -passwd 'NewStrongPass'.
Can I move a Plesk server to a larger plan?
Yes. Deploy the larger plan, install Plesk there, and use the Plesk Migrator extension to copy subscriptions. Reissue the licence for the new server. The larger plan tutorial covers the general move.
More in Control panels
- Webmin system admin panel
- Virtualmin web hosting panel
- Cockpit server console in the browser
- aaPanel hosting panel
- FASTPANEL hosting panel
- Cloudron app platform
- Webuzo hosting panel
- Control Web Panel (CWP) on Rocky or Alma
- HestiaCP open source panel
- CyberPanel with OpenLiteSpeed
- Move cPanel accounts to a new server