Introduction
HestiaCP is a free, open-source web hosting control panel designed to simplify server management. It provides a user-friendly web interface, enabling users to manage websites, email accounts, databases, and more. HestiaCP is an excellent alternative to paid control panels like cPanel and DirectAdmin, offering similar features without licensing costs.
Features of HestiaCP
Web Hosting Management – Supports Nginx as a reverse proxy with Apache as the backend.
MultiPHP Support – Allows running multiple PHP versions (7.4, 8.0, 8.1, etc.).
Database Management – Compatible with MariaDB and PostgreSQL.
User-Friendly UI & API – Provides an intuitive web panel and API support for automation.
Security – Includes a built-in firewall, Fail2Ban, and Let’s Encrypt SSL.
Lightweight and Fast – Optimized for performance with minimal resource usage.
Backup & Restore – Automated backup solutions for websites and databases.
HestiaCP vs Other Control Panels
HestiaCP vs CyberPanel
| Feature | HestiaCP | CyberPanel |
|---|---|---|
| Web Server | Nginx + Apache | OpenLiteSpeed |
| Free Version | Yes | Yes |
| MultiPHP | Yes | Yes |
| DNS Manager | Yes | Yes |
| Security | Firewall + Fail2Ban | ModSecurity |
| Best For | Nginx/Apache Users | LiteSpeed Users |
HestiaCP vs cPanel
| Feature | HestiaCP | cPanel |
| Cost | Free | Paid (Subscription) |
| Web Server | Nginx + Apache | Apache |
| User Interface | Modern UI | Traditional UI |
| MultiPHP | Yes | Yes |
| DNS Manager | Yes | Yes |
| Security | Firewall + Fail2Ban | Integrated Security Features |
HestiaCP vs DirectAdmin
| Feature | HestiaCP | DirectAdmin |
| Cost | Free | Paid (One-time/Monthly) |
| Web Server | Nginx + Apache | Apache/Nginx/LiteSpeed |
| User Interface | Modern UI | Old-School UI |
| MultiPHP | Yes | Yes |
| Security | Built-in Firewall | Configurable |
Step-by-Step HestiaCP Installation Guide
Step 1: Prepare Your VPS
Ensure you have a fresh Ubuntu 24.04 LTS or Latest installation.
Use a non-root user with sudo privileges.
Point your domain to your VPS IP using Cloudflare DNS or the DNS you are using.
Step 2: Download & Install HestiaCP
if you are not running the script as the root user. To fix this, follow these steps:
Step 1: Switch to Root User
Run the following command to switch to root:
Your prompt should change to #, indicating root access.
1. Download the HestiaCP Installation Script
wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh2. Run the Installation Command
Customize the installation options based on your needs. Example:
bash hst-install.sh --force \
--multiphp '8.1,8.0,7.4' --vsftpd no --named no --exim no --dovecot no \
--clamav no --spamassassin no --quota yes–multiphp – Enables multiple PHP versions.
–vsftpd no – Disables FTP (use SFTP instead).
–named no – Disables DNS server (use Cloudflare).
–exim no, dovecot no – Disables email services (use Mailcow later).
–quota yes – Enables filesystem quotas.
Option 2: for Full Installation Force Installation (Recommended)
Since this is a fresh setup, you can force the installation by running:
This will remove the conflicting admin group and proceed with the installation.
Step 3: Reboot and Access HestiaCP
Once the installation is complete, reboot your VPS if not after installation:
sudo rebootAfter rebooting, access HestiaCP via:
http://your-server-ip:8083Use the admin credentials provided during installation.
Step 4: Secure HestiaCP with SSL
Log in to HestiaCP.
Go to Web → panel.yourwebsite.com → Edit.
Enable Let’s Encrypt SSL.
Save and restart the panel.
Step 5: Add a New Web Domain for FOSSBilling (our example)
Go to Web → Add Web Domain.
Enter:
billing.yourwebsite.comSave the settings.
Common Installation Errors & Solutions
Error: “This script can only be executed by root”
Solution: Run the command as root:
sudo su
bash hst-install.sh --force ...Error: “Group admin exists”
Solution: Force installation with:
bash hst-install.sh --forceError: SSL Not Working on HestiaCP Panel
Solution:
Check if port 8083 is open in your firewall:
sudo ufw allow 8083Ensure Cloudflare SSL is set to Full (Strict).
Enable Let’s Encrypt SSL in HestiaCP settings.
Conclusion
HestiaCP is a powerful and lightweight control panel that provides an excellent alternative to paid solutions. With its intuitive UI, security features, and free pricing, it’s an excellent choice for managing VPS hosting. If you found this guide helpful, let us know in the comments below and explore more tutorials at EngineerHow.com!
