Knowledgebase

Find frequently asked questions and setup guides by searching or by browsing the categories.

What HestiaCP Is

HestiaCP began as a fork of VestaCP and is developed by its own community. It installs and configures a standard stack, then lets you add users, each with their own websites, mail domains, databases, and DNS zones. Every action in the panel is also a command in /usr/local/hestia/bin/, and these commands start with v-, so tasks can be scripted.

Components

RoleSoftware
WebNginx, optionally with Apache
PHPPHP-FPM, several versions
DatabaseMariaDB or MySQL
MailExim and Dovecot
WebmailRoundcube
DNSBIND
FTPvsftpd or ProFTPD
SecurityFail2ban, firewall rules

Spam and virus filtering with SpamAssassin and ClamAV are optional; ClamAV needs a lot of memory.

Requirements

  • Debian or Ubuntu only: the documentation lists Debian 12 and 13 and Ubuntu 22.04, 24.04, and 26.04 LTS; non-LTS Ubuntu releases, AlmaLinux, and Rocky Linux are not supported.
  • A fresh system: install HestiaCP right after the operating system, never on a server that already runs another panel or a web or mail server you set up.
  • Memory and disk: the documented minimum is 1 GB of memory without SpamAssassin and ClamAV and 10 GB of disk; 4 GB of memory and 40 GB of SSD are recommended.
  • A hostname: a fully qualified name such as server.example.com.
  • A snapshot: take one before you start. See snapshot vs backup.

Download and Read the Installer

The installer must run as root. Download the script from the project's GitHub repository:

wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh
less hst-install.sh
sudo bash hst-install.sh --help

--help lists every option without installing anything.

Choose the Installer Options

Each component can be turned on or off with an option set to yes or no:

  • --apache: Apache behind Nginx, for sites that need .htaccess (on by default).
  • --multiphp: installs several PHP versions; it also accepts a list such as 8.3,8.4.
  • --clamav and --spamassassin: mail filtering.
  • --named: the BIND DNS server.
  • --port: the panel port, 8083 by default.
  • --hostname, --email, --password: the server name and the administrator's details.

An example without Apache and without virus scanning:

sudo bash hst-install.sh --apache no --clamav no --multiphp yes \
  --hostname server.example.com --email YOUR_EMAIL --password STRONG_PASSWORD

A password given this way stays in your shell history; leave --password out and the installer asks for it in the terminal instead. The installer shows a summary and asks for confirmation. The install takes several minutes; in interactive mode it then reboots the server after you press a key.

Log In on Port 8083

At the end the installer prints the panel address and the administrator login, and sends a welcome message to the e-mail address you gave. Browse to https://your_server_ip:8083, log in, and change the password under the user's settings. Then:

  1. Restrict port 8083 to your own IP in the panel's firewall settings or in your provider's firewall; keep the rule for SSH, and test SSH in a second session before you close the first.
  2. Turn on two-factor authentication for the administrator.
  3. Create a normal user for your websites; keep the administrator account for server tasks.
  4. Add a web domain under that user and issue a Let's Encrypt certificate from the domain's settings.

Updates and Backups

HestiaCP is installed from the project's apt repository, so it updates with the system:

sudo apt update && sudo apt upgrade

Read the release notes before a major version. The installer sets up daily backups per user into /backup; set up a remote destination as well, because a backup on the same disk does not survive the loss of the server. For a comparison of commercial panels, see cPanel vs DirectAdmin; a lighter tool for system tasks only is Webmin.

Was this answer helpful?
Loading...