On this page
What does HestiaCP offer?
HestiaCP is a free, open source hosting panel for Debian and Ubuntu. It sets up nginx (optionally in front of Apache), PHP-FPM with several versions, MariaDB or MySQL, Exim and Dovecot for mail, BIND for DNS, an FTP server, Fail2Ban and its own firewall manager. Each panel user gets a Linux account, and every web domain gets its own PHP pool and certificate. A full command line interface sits beside the web UI, so anything you click can also be scripted.
It is a good match when you want shared-hosting style features without a licence fee. On Rocky or Alma, see Control Web Panel instead.
What does the server need before the install?
Hestia must be installed on a clean system; the script refuses to continue when it finds an existing web, mail or database server. Use a fresh Debian 12, Ubuntu 24.04 or Ubuntu 22.04 image, and check the HestiaCP release notes before trying Debian 13. If the server was used for something else, reinstall it from the Settings tab of the instance page, which erases the disk and shows a new root password on Overview; see reinstalling an image. One GB of RAM runs a minimal setup without ClamAV and SpamAssassin, while 2 GB or more is better for mail scanning.
Create DNS records for panel.example.net (A to 198.51.100.24, AAAA to 2001:db8:4f2a::24), set the host name and update:
sudo hostnamectl set-hostname panel.example.net
sudo apt update && sudo apt full-upgrade -y
sudo rebootHow do I download and run the installer?
Fetch the script from the release branch, read the options it supports, then run it. Choose the stack with flags; the example below installs nginx with PHP-FPM only (no Apache), several PHP versions, and skips the heavier antivirus and spam filter:
wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh
sudo bash hst-install.sh --help
sudo bash hst-install.sh --hostname panel.example.net --email admin@example.net \
--username hadmin --password 'Use-A-Long-Passphrase-9' \
--apache no --multiphp yes --clamav no --spamassassin no --interactive noRun it inside tmux in case your SSH connection drops. The script prints a summary at the end and stores it in the admin user mailbox too. Reboot when asked, then confirm the version and the panel port:
apt policy hestia
sudo ss -tlnp | grep 8083How do I restrict the panel port?
Hestia ships its own firewall manager that writes iptables rules and works with Fail2Ban, so do not enable UFW or firewalld alongside it. By default port 8083 is open to everyone. Allow your address explicitly, then tighten the default rule in the panel under Server, Firewall:
sudo /usr/local/hestia/bin/v-list-firewall
sudo /usr/local/hestia/bin/v-add-firewall-rule ACCEPT 203.0.113.7 8083 TCP "admin access"After that, edit the existing 8083 rule in the panel so its source is your own address only. You may also move the panel to another port with v-change-sys-port. Keep SSH safe as well, following SSH keys and hardening.
How do I add a web domain with HTTPS?
Sign in at https://panel.example.net:8083 with the admin user you created. Best practice is to make a separate panel user for sites rather than hosting them under the admin account: open Users, add a user with a package, then log in as that user. Under Web, add example.net, tick the option to enable SSL and the Let's Encrypt box, and enable the HTTPS redirect. The certificate is issued as soon as DNS points at the server. Choose the PHP version per domain in the advanced options. The same steps work from the shell:
sudo /usr/local/hestia/bin/v-add-web-domain siteuser example.net
sudo /usr/local/hestia/bin/v-add-letsencrypt-domain siteuser example.net www.example.netSecure the panel host name too with v-add-letsencrypt-host.
How should mail be configured?
Hestia installs Exim and Dovecot with DKIM signing, but port 25 may not be open on your server, so ask support with a ticket before planning direct delivery, and request reverse DNS for panel.example.net with a ticket as well. The reliable route is an authenticated relay on port 587: in the panel go to Server settings, Configure, Mail, enable the global SMTP relay and enter the relay host, port 587, user name and password. Publish the DKIM record Hestia generates along with SPF and DMARC, as described in the SPF, DKIM and DMARC guide.
How do I update and back up HestiaCP?
Hestia is distributed as a package from its own apt repository, so normal system upgrades also update the panel. Automatic updates are on by default and can be toggled under Server settings, Updates.
sudo apt update && sudo apt upgrade -y
apt policy hestiaThe panel makes nightly user backups into /backup on the same disk. That protects against mistakes, not against losing the server, so copy them elsewhere or combine them with the daily backup add-on. Restore a user with v-restore-user or from the Backups page.
What helps when something breaks?
The panel runs its own nginx and PHP under the hestia service; sudo systemctl status hestia and the files in /var/log/hestia/ are the first places to look. If you lock yourself out after failed logins, Fail2Ban has banned your address: list bans with sudo /usr/local/hestia/bin/v-list-firewall-ban and remove yours with v-delete-firewall-ban. Certificate failures nearly always mean DNS is not pointing at the server yet or port 80 is closed. For a forgotten admin password, run sudo /usr/local/hestia/bin/v-change-user-password hadmin followed by the new password.
Plans that fit this guide
Base city prices. Every plan includes a dedicated IPv4 address, IPv6, full root and all 18 images.
Questions about HestiaCP open source panel
Is HestiaCP free?
Yes. HestiaCP is open source under the GPL and has no licence fee. Community help is available on its forum and issue tracker.
Which systems does HestiaCP support?
Current releases support Debian and Ubuntu LTS versions. On our images that means Debian 12, Ubuntu 24.04 and Ubuntu 22.04; check the release notes before using Debian 13.
Can I add Apache later?
The stack is chosen at install time. Switching from nginx only to nginx plus Apache afterwards is not a supported toggle, so decide before running the installer or reinstall the image and start again.
Why do I see a warning about port 8083?
The panel starts with a self-signed certificate. Run v-add-letsencrypt-host once DNS for the host name resolves, and the warning goes away.
How much RAM does HestiaCP need?
One GB works without ClamAV and SpamAssassin. With mail scanning enabled, plan on at least 2 GB, for example A2-2, plus a swap file.
Can I run Docker next to HestiaCP?
It is possible but Docker writes its own iptables rules, which can conflict with the Hestia firewall. Keep panels and container hosts on separate servers when you can.