HestiaCP is a free, open-source GPLv3 control panel for Ubuntu (20.04, 22.04, 24.04) and Debian (11, 12) that installs in under 15 minutes via a single shell script—providing Nginx + Apache2 or pure Nginx+PHP-FPM, Exim/Dovecot mail, BIND DNS, MariaDB, Let’s Encrypt SSL, and Fail2ban with under 512 MB of idle RAM overhead.
Rising per-account licensing fees on commercial panels have pushed agencies, SaaS builders, and Linux administrators to seek lean, open-source alternatives that do not sacrifice usability. Forked from VestaCP with a focus on modern security, multi-PHP support, and active maintenance, HestiaCP delivers a clean web interface and full CLI automation without recurring software charges. On a modest 2 GB KVM virtual server, HestiaCP leaves nearly all of your memory free for PHP-FPM workers, Redis object caching, and MariaDB buffer pools instead of consuming gigabytes on panel daemons.
Host unlimited domains, mail accounts, and databases under GPLv3 with no per-seat billing.
Assign PHP 7.4 through 8.3 per domain using isolated PHP-FPM pools and FastCGI caching.
Ships with iptables/ufw integration, Fail2ban jails, 2FA, and automated Let’s Encrypt SSL.
- System Requirements and Supported Linux Distributions
- Preparing Ubuntu and Running the Unattended HestiaCP Installer
- Post-Installation Hardening: Panel Port, 2FA, and SSL
- Optimizing Nginx FastCGI Cache and Automated Backups
- Managing Domains, Databases, and CLI Automation
- Inode Auditing, Quota Management & Maildir Cleanup Automation
- Configuring Strict SPF, DKIM & DMARC Alignment in HestiaCP
- CLI Large Database Imports & Zero-Downtime cPanel Migration
- HestiaCP Deployment & Migration FAQ
System Requirements and Supported Linux Distributions
Unlike cPanel or CyberPanel, HestiaCP targets the Debian and Ubuntu ecosystem exclusively. It must be installed on a fresh, minimal OS image with no pre-installed Apache, Nginx, MySQL, or Postfix packages—otherwise the installer will abort to avoid overwriting existing configurations. A clean Linux VPS hosting instance running Ubuntu 22.04 LTS or 24.04 LTS with at least 2 GB RAM (4 GB+ recommended if you enable ClamAV and SpamAssassin for mail scanning) is ideal.
| Component | Minimum Specification | Production Recommended |
|---|---|---|
| Operating System | Ubuntu 20.04/22.04 or Debian 11 | Ubuntu 24.04 LTS / Debian 12 (64-bit) |
| CPU & Memory | 1 vCPU, 1 GB RAM (no ClamAV) | 2–4 vCPUs, 4 GB+ RAM |
| Disk Space | 10 GB SSD | 40 GB+ NVMe SSD (with backup headroom) |
| Web Stack Options | Nginx + PHP-FPM | Nginx + PHP-FPM (or Nginx + Apache2 for .htaccess) |
Preparing Ubuntu and Running the Unattended HestiaCP Installer
Before downloading the installer, set a valid fully qualified domain name (FQDN) such as panel.example.com that resolves to your VPS IPv4 address. Using a dedicated subdomain avoids SSL and mail-hostname conflicts later. Next, update apt repositories, install ca-certificates and curl, and pass explicit flags to hst-install.sh so you only install the services you actually intend to run.
For example, if you use external DNS (such as Cloudflare) and transactional email (such as Postmark or Amazon SES), disabling BIND (--named no) and ClamAV (--clamav no) keeps your VPS lean and cuts attack surface dramatically:
Post-Installation Hardening: Panel Port, 2FA, and SSL
Once installation finishes and the VPS reboots, log in at https://panel.example.com:8083 using the admin account. Your first three actions should be securing the control plane itself. Never use the admin user to host production websites; instead, create a separate standard Hestia user for each client or project so web roots, cron jobs, and PHP-FPM pools remain isolated under distinct Linux UIDs and cannot traverse neighboring directories.
Second, issue a valid Let’s Encrypt certificate for your panel hostname by running v-add-letsencrypt-host from SSH, and enable TOTP two-factor authentication inside the admin profile. Third, verify that port 8083 (or a custom port set via --port) is restricted to your office or VPN IP via Hestia’s built-in firewall rules, and disable root SSH password authentication in /etc/ssh/sshd_config.
Optimizing Nginx FastCGI Cache and Automated Backups
When you choose Nginx + PHP-FPM without Apache, HestiaCP lets you select built-in templates such as wordpress or caching directly in the web domain settings. Enabling Nginx FastCGI caching serves anonymous WordPress page views directly from RAM/NVMe without invoking PHP, easily scaling a 2-vCPU VPS to thousands of requests per second.
You can also install Redis (apt install redis-server php-redis) to offload WordPress transients and WooCommerce session queries from MariaDB. Combined with PHP 8.3 OPcache enabled by default in HestiaCP, dynamic admin pages and checkout flows execute with minimal CPU latency.
Finally, configure off-server backups. Storing daily tarballs on the same VPS disk does not protect against filesystem corruption or account compromise. HestiaCP natively supports pushing incremental or compressed backups over SFTP, FTP, or Backblaze B2 / S3-compatible buckets via rclone.
Managing Domains, Databases, and CLI Automation
Beyond its web UI, HestiaCP exposes a comprehensive suite of v-* command-line utilities located in /usr/local/hestia/bin/. DevOps engineers can script user creation (v-add-user), domain provisioning (v-add-web-domain), Let’s Encrypt issuance (v-add-letsencrypt-domain), and database imports directly from Ansible playbooks or CI/CD pipelines. Every action performed in the web dashboard maps one-to-one to a deterministic shell command, making HestiaCP uniquely transparent and easy to audit compared to opaque proprietary panels.
Inode Auditing, Quota Management & Maildir Cleanup Automation
One of the most common operational surprises on a HestiaCP VPS happens when df -h reports 40% free disk capacity, yet WordPress uploads, Let’s Encrypt renewals, and database writes suddenly fail with No space left on device. The culprit is almost always inode exhaustion—every file, symlink, PHP session, and email message consumes one filesystem inode regardless of byte size. Generic advice to “delete large media files” fails completely because a single 2 GB video frees only one inode, whereas 500,000 forgotten PHP session files or Exim bounce messages starve the ext4 filesystem table.
| HestiaCP Directory | Typical Bloat Source | Safe Cleanup Action |
|---|---|---|
/home/*/tmp & /var/lib/php/sessions |
Stale PHP session files from bot crawlers | Purge files older than 24–72 hours via cron |
/home/*/mail/*/*/.Trash & .Junk |
Unexpunged spam & deleted IMAP messages | Use doveadm expunge for messages >30 days |
/var/spool/exim4/input |
Frozen bounce queues from compromised scripts | Inspect headers, fix script, purge frozen queue |
/home/*/web/*/public_html/wp-content/cache |
Orphaned WordPress page-cache fragments | Switch to Nginx FastCGI cache + purge stale HTML |
Run the following diagnostic and cleanup commands to pinpoint inode hotspots immediately and automate safe Maildir and session pruning without touching active user mailboxes:
Configuring Strict SPF, DKIM & DMARC Alignment in HestiaCP
If you enable Exim and Dovecot on your HestiaCP VPS to send transactional invoices or client mail, basic DNS A/MX records are no longer sufficient. Under 2024–2026 Google Gmail and Yahoo Mail sender enforcement rules, messages lacking aligned SPF, 2048-bit DKIM signatures, a valid DMARC policy, and matching reverse DNS (PTR) are silently routed to spam or rejected at SMTP time with 550-5.7.26 errors.
When using HestiaCP with external DNS (such as Cloudflare), remember that adding a mail domain in HestiaCP generates local DKIM keys via Exim, but you must copy the public TXT record into your external DNS zone manually. Verify your DKIM selector and test SPF/DMARC alignment using Hestia’s CLI and dig:
Start with v=DMARC1; p=none; rua=mailto:[email protected]; adkim=r; aspf=r; for 14 days to audit legitimate senders, then tighten to p=quarantine; pct=100; or p=reject; once every transactional mailer passes alignment.
CLI Large Database Imports & Zero-Downtime cPanel Migration
Agencies migrating mature WooCommerce, Moodle, or ERP sites from cPanel to HestiaCP quickly discover that phpMyAdmin chokes on SQL dumps larger than 200 MB due to Nginx client_max_body_size and PHP execution timeouts. Rather than paying for third-party WordPress migration plugins that often time out mid-archive, import 5 GB+ SQL dumps directly over SSH CLI inside a tmux session—using pv for real-time progress tracking or parallel mydumper/myloader threads to saturate NVMe write queues.
Combine CLI imports with a zero-downtime cPanel-to-HestiaCP cutover protocol: lower your domain’s DNS TTL to 300 seconds 24 hours ahead, provision the Hestia user and web domain with v-add-web-domain, sync public_html via rsync, import the database via CLI, verify TLS and dynamic checkout pages using a local /etc/hosts override (or curl --resolve), and then update public DNS A records:
Surgical ModSecurity & Nginx Rate-Limit Tuning
When migrating sites from cPanel Apache with ModSecurity into HestiaCP’s Nginx + PHP-FPM stack, never leave admin endpoints unprotected. Pair HestiaCP’s built-in Fail2ban jails with Nginx limit_req_zone throttling on /wp-login.php and /xmlrpc.php, or if running Nginx + Apache2 with ModSecurity, whitelist only specific false-positive Rule IDs via SecRuleRemoveById rather than disabling WAF protection across the domain.
HestiaCP Deployment & Migration FAQ
Should I choose Nginx + Apache2 or pure Nginx + PHP-FPM in HestiaCP?
.htaccess rewrite rules that you cannot translate to Nginx templates.Can I install HestiaCP on AlmaLinux, Rocky Linux, or CentOS?
How do I migrate websites from cPanel or VestaCP to HestiaCP?
v-restore-user. For cPanel accounts, export the site files and SQL dumps, create the domain in HestiaCP, import the database, and switch DNS after testing.Is HestiaCP safe to run on a 1 GB RAM VPS?
Why should I change the default HestiaCP admin port 8083 after installation?
Does HestiaCP support automatic Let’s Encrypt SSL renewal for subdomains and mail?
Applying the system requirements and supported linux distributions principles covered above helps prevent resource bottlenecks and configuration drift in production. Review our cPanel web hosting to match CPU, NVMe I/O, and network capacity to your workload.
