Skip to content

How to Install Plesk on a Linux VPS, Step by Step

Install Plesk on a fresh Linux VPS with confidence. Covers server prep, the installer, first login, firewall ports, and what to check before hosting sites.

10 min readUpdated Nov 23, 2026By XPASS Editorial Team

How to Install Plesk on a Linux VPS, Step by Step

Plesk is a web hosting control panel. Instead of editing configuration files for the web server, mail server, DNS and databases by hand, you manage them through a browser interface. For many small businesses, agencies and independent consultants, that is the difference between hosting a handful of sites comfortably and spending every weekend in a terminal.

Installing it is not difficult, but it is easy to get wrong in the preparation. Most failed installs come from the wrong operating system, a half-configured server, a missing hostname or a firewall that blocks the panel. This guide walks through the whole process on a Linux VPS: what to prepare, how to run the installer, how to log in for the first time, and what to check before you put real websites on the server. If you are still deciding which edition to buy, read the Plesk license checklist for a VPS first, because the edition affects what you can do after the install.

What you need before you start

A successful installation begins with a short list of requirements. Check each one before you run anything.

  • A VPS with root access. The installer has to modify system packages and services, so you must be able to log in as root, or use a user that can run commands with full administrative rights through sudo.
  • A supported Linux distribution. Plesk supports specific versions of distributions such as Ubuntu, Debian and the Red Hat family. The supported list changes with each Plesk release, so open the official requirements page for your version and compare it with your server.
  • Enough memory and disk. The documentation lists minimum hardware figures. As a general rule, a panel plus a web server, mail and a couple of CMS sites needs noticeably more room than a bare web server, so do not size the VPS to the bare minimum.
  • A clean server. Ideally the VPS was just created with only the base operating system. Pre-installed Apache, Nginx, mail software or another control panel will fight with Plesk.
  • A fully qualified hostname. Something like server.example.com, with an A record pointing to the VPS IP address. See RFC 1034 for how names resolve if you want the background.
  • A license key or trial plan. You can usually install first and apply the key afterwards, but know which edition you intend to use.

If you do not yet have a domain for the hostname, you can register one on the domain search page and create the A record once you have the server IP.

Step 1: Prepare the server

Connect to the VPS over SSH with your root credentials. Before installing anything, do a few housekeeping steps.

  1. Update the system. Run the package manager update and upgrade commands for your distribution, then reboot if a new kernel was installed. Starting from current packages removes a common source of dependency errors.
  2. Set the hostname. Use the hostnamectl command to set a fully qualified name, and confirm that it appears in the hosts file along with the server IP. A mismatch between the hostname and DNS will later cause mail delivery warnings.
  3. Check the time. Make sure the clock is synchronised. Certificates, logs and mail all depend on correct time.
  4. Check available space. Look at disk usage and memory so you know what you are working with.
  5. Take a snapshot. If your VPS provider offers snapshots, create one now. If the install goes wrong, you can return to a clean state in minutes.

A small detail that causes surprises: some images ship with a firewall such as ufw or firewalld already active. That is good for security, but you will need to open the right ports, covered below, or you will not be able to reach the panel after installation.

Step 2: Run the Plesk installer

Plesk provides a one-click installer script. You download it and run it as root in your SSH session. Because the exact address and options can change between versions, copy the command from the official Plesk installation guide rather than from a blog post, including this one.

What the installer does, in plain terms:

  • Detects your operating system and checks that it is supported.
  • Adds the Plesk package repositories.
  • Downloads and installs the panel together with a recommended set of components, such as the web server, mail server, database server and PHP handlers.
  • Starts the services and prints a message when it finishes.

The process takes a while, depending on server resources and network speed. Do not close the SSH window. If your connection is unreliable, run the command inside a terminal multiplexer such as screen or tmux, so that a dropped connection does not interrupt the installation halfway.

Plesk also offers a web-based installation mode on a dedicated port, which lets you choose components in a browser. This suits people who want to select a custom set of services. For a first install, the default recommended set is usually the best choice because it matches what the documentation and tutorials assume.

Step 3: Open the firewall ports

After installation, the panel listens on port 8443 over HTTPS. Websites need ports 80 and 443. Other services use their own ports. A typical list looks like this:

Purpose Port Notes
Plesk panel (HTTPS) 8443 Administrator and customer login
Plesk web installer 8447 Only if you use the web installation mode
Websites 80 and 443 HTTP and HTTPS
FTP 21 Only if you need FTP; SFTP over SSH is preferable
SSH 22 Keep reachable for you only where possible
SMTP, submission 25, 465, 587 Mail sending and receiving
IMAP and POP3 143, 993, 110, 995 Mailbox access

Plesk can manage its own firewall module, and your VPS provider may also have a network-level firewall in front of the server. Both layers must allow the traffic. If you cannot reach port 8443 after a successful install, the cause is almost always one of those two layers. Open only what you need; if you do not host mail on this server, you do not have to expose the mail ports.

Step 4: Log in for the first time

There are two common ways to sign in.

Using the login helper. On the server, run the Plesk login command. It prints a one-time link containing your server address. Open it in your browser and you are signed in as the administrator without typing a password. This is convenient for first access.

Using the browser directly. Visit https://your-server-address:8443. Your browser will show a certificate warning, because the panel starts with a self-signed certificate. For the very first visit that is expected. Sign in with the administrator account; if you have not set a password, you can set one from the command line using the Plesk admin utility.

On the first login, Plesk asks for basic details: the administrator's contact email, a strong password and the license key or trial choice. Use a password manager to generate the password, and enable two-factor authentication for the administrator account as soon as the panel offers it. A control panel with root-level power deserves stronger protection than an ordinary web login.

Step 5: Secure the panel hostname

The certificate warning in your browser is a sign that the panel still uses a temporary certificate. Fix it early so that you and your customers are not trained to click through warnings.

  1. Make sure the hostname you chose resolves to the server through an A record.
  2. In Plesk, open the tools and settings for SSL/TLS certificates and request a certificate for the server hostname. Plesk can obtain one automatically through the Let's Encrypt extension, which follows the process described in How It Works. If you prefer a certificate from a commercial authority, see the SSL certificates page.
  3. Assign the certificate to the panel and, if offered, to the mail service so that mail clients do not show warnings either.
  4. Browse to the panel again using the hostname instead of the IP and confirm the padlock appears. If you want to understand what that padlock means, HTTPS explained is a good short read.

Step 6: Checks before hosting real websites

A working login is not the same as a ready server. Spend ten minutes on this checklist.

  • Updates. In the panel, check for Plesk updates and enable automatic updates for security fixes if you are comfortable with that.
  • Backups. Configure scheduled backups to a location that is not on the same disk. A backup stored only on the server it protects is not a real backup.
  • Firewall and fail2ban. Review the Plesk firewall rules and enable the intrusion-prevention module so that repeated failed logins are blocked.
  • Mail setup. If the server will send mail, check that reverse DNS for the IP matches your hostname, and plan SPF, DKIM and DMARC for each domain. A business mailbox from a dedicated service is often simpler; see business email if you would rather not run your own mail server.
  • PHP versions. Choose the PHP versions you need and remove the ones you do not.
  • Test site. Add a test subscription and a plain HTML page to confirm that the web server, DNS and certificates behave as expected.

When you are ready to place your first real domain on the server, continue with adding a new domain in Plesk, which covers DNS, document roots and hosting settings.

Common problems and what to watch for

The installer stops with a dependency or repository error. This usually means the server is not on a supported distribution version or the package index is out of date. Update the system, check the supported list and retry. Avoid mixing third-party repositories before the install.

You cannot reach port 8443. Check the operating system firewall, the Plesk firewall and any firewall in your VPS provider's control panel. Test from another network too, in case your own office blocks the port.

Out of memory during installation or later. Small VPS plans can run out of memory when the panel, database, mail filtering and PHP all run together. Watch memory use in the first week and upgrade the plan or disable components you do not use.

Conflicts with existing software. If a web server or mail server was already installed and configured by hand, expect conflicts. Reinstalling the operating system and starting clean is often quicker than untangling them.

Licensing surprises. The edition decides the number of domains and which extensions are available. Check this on the license side before migrating many sites. The license checklist lists the questions to ask, and comparing Plesk and cPanel helps if you are still choosing a panel.

Security is ongoing. Installing a panel does not make a server secure on its own. Keep the operating system and the panel updated, use strong unique passwords with two-factor authentication, restrict SSH access, and review who has access to the panel regularly.

A simple example

Imagine a small design studio with three client websites. They create a fresh VPS with a supported Linux distribution, register a hostname called panel.studio-example.com and point an A record to the VPS. They connect through SSH, update the system, set the hostname, take a snapshot and run the official Plesk installer inside a tmux session. When it finishes, they open port 8443 in the provider firewall, use the login helper to sign in, set a strong administrator password, enable two-factor authentication and issue a certificate for the panel hostname. Finally they configure off-server backups and add a test domain. Only then do they begin moving the three client sites, one at a time. The whole preparation takes an afternoon, and nothing about it is exotic: it is the same careful order of steps described above.

Summary

Installing Plesk on a Linux VPS comes down to preparation and order. Choose a supported distribution and a clean server, set a proper hostname with a matching A record, update the system and take a snapshot. Run the official installer as root, open the panel and web ports, sign in through the login helper, and secure the panel with a real certificate and two-factor authentication. Before hosting live sites, configure backups, updates and the firewall, and test with a sample domain. From there you can add domains, mailboxes and applications with a few clicks. When you are ready to connect a name to your new server, the domain search page is a good place to start.

Frequently asked questions

Can I install Plesk on a server that already runs a website?

It is possible, but it is not the recommended path. Plesk expects to manage the web server, mail server and DNS service itself, so existing manual configuration can conflict with it. A clean server with a supported operating system is the safest starting point.

Which command installs Plesk?

Plesk publishes a one-click installer script that you download and run as root over SSH. Always copy the exact command from the official Plesk documentation for your version, because the address and options can change over time.

How do I log in the first time?

Run the Plesk login helper on the server to get a one-time link, or open port 8443 of your server address in a browser and sign in with the administrator account you created. The browser will warn about the temporary certificate until you secure the panel hostname.

Do I need a domain name before installing Plesk?

You can install using only the server IP address, but a proper hostname that resolves to the server is strongly recommended. It makes the panel certificate, mail delivery and later domain setup much smoother.

Do I need a license to use Plesk?

Plesk runs under a license key, and the edition you choose decides which features and how many domains you can manage. Compare editions before you buy; the license checklist linked in this article covers the questions to ask.

About the author

Bob Kanokphon Thongdee, founder of XPASS VPN

Bob Kanokphon Thongdee

  • Founder of XPASS VPN
  • Co-founder of eSIMonline.asia
  • More than 7 years in online marketing
  • Founder of Cojourney Visa and Cojourney Travel

Start your website the right way

Register a domain, add SSL and set up business email from one place.

.com registration from $18.81 for the first year

Start with a domain

Keep reading

Website Guides

Buying a Plesk License for a VPS: What to Check First

Before you pay for a Plesk license, confirm your VPS operating system, resources, IP address and edition. Use this checklist to avoid the usual surprises.

10 min read

Website Guides

How to Add a New Domain in Plesk, Step by Step

A practical guide to adding a new domain in Plesk, from pointing DNS and creating the subscription to document roots, HTTPS and final checks.

9 min read

Website Guides

Plesk vs cPanel: What Are the Differences?

Plesk and cPanel both manage sites, email, DNS and certificates, but they differ in design, platform support and licensing. See how to pick the right one.

10 min read