Purchase a HostGator Self-Managed VPS with HestiaCP Installation
Manage your websites and hosting services with Hestia Control Panel (HestiaCP), a free and open-source web hosting control panel. It provides a web-based dashboard that lets you manage websites, domains, email accounts, databases, DNS records, SSL certificates, and other hosting services from a single location. With HestiaCP, you can perform common hosting tasks without relying entirely on the command line. Whether you're managing a single website or multiple domains on your VPS, HestiaCP helps you organize and control your hosting environment through a centralized dashboard. With a Self-Managed VPS, you're responsible for configuring, maintaining, updating, and securing your server, your HestiaCP installation, and the websites and email you host.
Key Benefits of HestiaCP
HestiaCP includes a wide range of tools that simplify the management of websites, hosting services, and server resources from one convenient interface.
- Centralized Hosting Management: Manage websites, domains, DNS records, email accounts, databases, and other hosting services from a single dashboard.
- Easy Website Management: Add multiple domains, configure website settings, and install supported applications through the control panel.
- Built-In Email Management: Create email domains and accounts, manage email settings, and access webmail directly from HestiaCP.
- Database Management: Create and manage MySQL, MariaDB, and PostgreSQL databases and access them through supported database management tools.
- DNS and SSL Management: Manage DNS zones and records, and configure SSL certificates for your websites and email services.
- Backup and Restore: Create backups of your hosting data and restore them whenever needed.
- Resource Monitoring: View important usage statistics, including bandwidth consumption, disk usage, websites, email accounts, databases, and backups.
What Can You Do with HestiaCP?
HestiaCP provides the tools you need to manage many of the daily tasks involved in running websites and hosting services on your VPS.
- Manage Websites: Add domains, configure website settings, view logs, and manage your websites through the Web section.
- Install Applications: Deploy supported applications such as WordPress, Drupal, Joomla, Laravel, Nextcloud, and many others.
- Manage Databases: Create and manage MySQL, MariaDB, and PostgreSQL databases for your websites and applications.
- Manage Website Files: Access and manage website files and directories using HestiaCP's built-in file management tools.
- Configure SSL Certificates: Secure your websites and email services with SSL/TLS certificates, including Let's Encrypt certificates.
- Manage DNS: Create DNS zones, add or update DNS records, and manage nameservers for your domains.
- Manage Email: Create email domains and accounts, configure mail settings, and access webmail for your hosted domains.
- Create and Restore Backups: Back up your hosting data and restore websites, databases, email accounts, and other account information when necessary.
- Manage Users and Access: Create users, allocate resources, and manage access to hosting services.
- Monitor Hosting Resources: Track bandwidth usage, disk space consumption, domains, SSL certificates, email accounts, databases, cron jobs, and backups.
- Manage Scheduled Tasks: Create and manage cron jobs to automate recurring tasks at scheduled intervals.
Installing HestiaCP on a HostGator Self-Managed VPS provides a centralized interface for managing your websites and hosting services. From a single dashboard, you can configure domains, databases, email accounts, DNS settings, SSL certificates, and backups while maintaining full control of your VPS environment.
System Requirements
Before deploying, ensure your server meets the following minimum hardware requirements. For a stable production deployment, we recommend using higher specifications than the minimum requirements.
- Do not purchase a server that only meets the minimum requirements (3 GB RAM). The minimum specification of 3 GB RAM represents the software's bare minimum operating requirement and does not account for operating system overhead or additional services running on the server. Running with only the minimum memory may result in performance slowdowns or instability during periods of increased resource usage.
- For a more stable deployment, we recommend using the recommended specifications (8 GB RAM). Extra RAM provides better performance, improved responsiveness, and more headroom for future growth or additional applications.
| Resource | Minimum | Recommended |
|---|---|---|
| RAM | 3 GB | 8 GB |
How to Purchase a Self-Managed VPS with HestiaCP

Not sure which VPS setup is right for you? That's exactly what Pre-configured Setup is for. You'll find this option near the top of the HostGator Self-Managed VPS purchase page, and it takes the guesswork out of getting started. Just tell us what you're building—a WordPress Site, an AI Agent/Claude Code project, a Dev/Staging environment, or an eCommerce Store—and we'll automatically select the right plan, operating system, and template to match.
- Great option if you're new to VPS or want a fast, easy setup
- Get the recommended configuration for your project right away
- No need to figure out the technical details yourself
- Full flexibility to adjust settings later on
To use HestiaCP on HostGator, you first need to buy a Self-Managed VPS plan. Here is how to do it:
- Open https://www.hostgator.com/vps-hosting in your browser.
- Pick the plan you want and click Choose Plan.

Important: Pricing is subject to change—please visit https://www.hostgator.com/vps-hosting for the current introductory/sign-up offer for HostGator Self-Managed VPS Hosting. For the most up-to-date renewal pricing, visit your Customer Portal Renewal Center.
- Pick a Data Center location.

- On the Cart page, you can set up your server the way you want:
- Hardware:
- Pre-selected:
You can change to a different Self-Managed VPS plan here.

- Configure:
Click Configure if you want to build your own custom package.
Note: any changes you make here will change the total price.

- Pre-selected:
- Software:
The app will be grayed out if your selected plan does not meet its minimum requirements.
- Click the OS With Panel tab.
- Choose HestiaCP.

- In the pop-up, click Confirm.

- Hardware:
- Support & Security:
You can add Premium Support, an optional paid add-on that gives you a dedicated specialist team for server tuning and migrations, plus priority chat and phone access. The current price is shown in your cart before you complete checkout.

- AI Credits:
You can add a HostGator AI Credits package, an optional paid add-on that lets you connect your application to supported LLM providers, including Claude, GPT, Gemini, and Grok, using one API key and a single bill. Supported models may change over time. The current price is shown in your cart before you complete checkout.

- In Advanced options, you can set these up if you want:
- Extra IPs: Add more IP addresses for an extra cost. The price depends on how many you add, and the current price is shown in your cart before you complete checkout.
- Hostname: Give your server a custom name. This is optional.
- SSH Key: If you want to log in without a password, add your SSH public key here. This is optional.

- Choose a billing term, check your Order Summary, then click Continue to Checkout.

- Review your HostGator cart. Some add-ons may be included by default. Review each item, remove any you don't want, then click Continue to Checkout again.

- On the Checkout page, do the following:
If you are new to HostGator:
- Fill in your billing information and contact details. If you don't want marketing emails, uncheck the box at the bottom.

- Create a password for your account.

- Choose how you want to pay—credit card or PayPal—and enter your payment details.

If you already have an account, your HostGator login details will show up once you log in to your Customer Portal. If you are not logged in, click Log In.

- Fill in your billing information and contact details. If you don't want marketing emails, uncheck the box at the bottom.
- Review your payment method and order total. If you have a promo code, click Add Promo Code and enter your code. If you need to make changes, click Edit or Add Payment Method. When everything looks correct, click Submit Payment to complete your purchase. By clicking Submit Payment, you agree to the Auto Renewal Terms, Terms of Service, Cancellation Policy, and Privacy Notice.

After checkout, your Self-Managed VPS will begin setting up. Once it's ready, you can find it under the Hosting tab in your Customer Portal.
Setting Up and Locking Down Your HestiaCP Server
HestiaCP is a fast, no-frills control panel, but a handful of setup steps are needed before it's ready to go live. This guide walks through the full initial configuration process from start to finish. Work through each phase below to pull your login details, get into the web dashboard, put a proper SSL certificate in place, and follow good security habits for the websites and email domains you host.
Phase 1: Reset Your Root Password
- Log in to your Customer Portal.
- From the left-hand menu, navigate to Hosting and select My Plans.

- Locate the server you want to manage, then click View Details in the bottom-left corner to expand the section and access additional server information.

- Click the Reset Password button.

- In the pop-up window, type your new root password, then click Reset Password again to confirm and save the changes.

Phase 2: Connect To Your Server Through SSH
- Connect to your server via SSH.
Open a terminal window on your computer (or an SSH client such as PuTTY) and run the command below to sign in to your server as the administrator, using your server's public IP address:Replaceyour_server_ipwith your actual server IP address.
When prompted, enter the new root password you set up in the step above.ssh root@your_server_ip - If you ever want to double-check the deployment notes right from your server's terminal, you can display the original README file with this command:
cat /root/README.md
Phase 3: Retrieve Your Login Credentials
Since your SSH session is already active, the background setup process (which takes about 2-3 minutes) has most likely already wrapped up.
- Pull your password: Run the command below in your terminal to view the credentials that were generated automatically:
cat /root/.app_passwords
- Hold onto it: Find the line reading HESTIA_ADMIN_PASSWORD=... and copy the password value. You'll use it in the next step.
Example Output:
root@hal-server-123456:~# cat /root/.app_passwords HESTIA_ADMIN_PASSWORD=example9e37c85c2799cc6b4876d94dc539cb6d37f9ea9t3st
Phase 4: Access the Web Panel
You can step away from the terminal now and switch over to your web browser.
- Head to the panel: Go to
https://<your-server-ip>:8083/.ReplaceExample:your_server_ipwith your actual server IP address.https://12.3.456.789:8083/ - Get past the security warning: Your browser may show a "not private" warning because HestiaCP uses a temporary self-signed SSL certificate. This is expected the first time you connect. Only continue if the IP address matches the one shown in your Customer Portal. Select Advanced, then Proceed. You'll replace this certificate with a trusted one in Phase 5.
- Sign in: Use the credentials below:
- Username: hestiaadmin

- Password: The password you copied back in Phase 3.

- Username: hestiaadmin
- You're now signed in and looking at your Dashboard.

Phase 5: Configure and Secure the Server (Crucial Step)
Now that you're in the web dashboard, your next priority is setting your server's hostname and swapping the panel's certificate for a real, trusted SSL certificate.
- Set the OS Hostname: Switch back to your SSH terminal and configure your fully qualified domain name (FQDN), for example panel.yourdomain.com:
sudo hostnamectl set-hostname panel.yourdomain.com
- Update your Hosts file: Open /etc/hosts in a text editor (nano works well) and make sure the 127.0.1.1 line matches your new hostname:
127.0.1.1 panel.yourdomain.com panel
- Sync the Panel: Inside the HestiaCP web interface, go to Server -> Configure. Update the Hostname field so it matches (panel.yourdomain.com) and click Save.
- Install a Trusted SSL: Make sure your domain (panel.yourdomain.com) is pointed at your server's IP address in your DNS settings. After that DNS change has propagated, run this script from your SSH terminal:
sudo /opt/hestiacp/setup-ssl.sh panel.yourdomain.com
This swaps out the temporary self-signed certificate for a trusted Let's Encrypt certificate automatically, so browser warnings will stop appearing.
Phase 6: Start Hosting
With that groundwork in place, your control panel is ready for its actual job:
- To host a website: Go to Web -> Add Web Domain. Type in your domain name (example.com), tick the boxes for SSL Support and Let's Encrypt, then click Save. HestiaCP takes care of the web directory, Nginx routing, and SSL setup on its own.
For the best security, we strongly suggest creating a standard user account in HestiaCP to host your sites, rather than using the main admin account. Keeping them separate ensures your website files stay isolated from the core control panel.

- To host email: Go to Mail -> Add Mail Domain. After it's added, click into the domain and choose Add Mail Account to set up your inboxes.
As with your websites, it's best to set up email domains under a standard user account instead of the main admin account. This keeps your inboxes and mail settings isolated for an added layer of security.

Additional Information and Examples
Run cat /root/README.md to view more details and useful commands:
Example Output:
root@hal-server-123456:~# cat /root/README.md
# HestiaCP
## Description
HestiaCP is a clean, modern, open-source hosting control panel for Linux. It lets you manage websites, email accounts, databases, DNS zones, FTP accounts, and SSL certificates through a fast, lightweight web-based interface.
Unlike heavier panels, HestiaCP is designed for speed and simplicity - built on Nginx, PHP-FPM, and MariaDB. It ships with a full mail stack (Exim4 + Dovecot), Fail2ban intrusion prevention, and built-in Let's Encrypt SSL automation.
This image comes with a complete HestiaCP stack pre-installed and configured on Ubuntu 24.04 LTS. On first boot, a secure, randomized administrator password is automatically generated for you.
---
## Minimum Requirements
| Resource | Minimum |
|----------|---------|
| RAM | 3 GB |
> The full mail stack (Exim4, Dovecot, SpamAssassin) requires at least 3 GB of RAM to run reliably alongside Nginx, MariaDB, and the HestiaCP panel.
---
## Quick Start
Follow these three steps to get up and running.
### Step 1 - Wait for first boot to complete
After launching your instance, wait 2-3 minutes for the first-boot setup to finish.
The setup runs automatically in the background. It generates your randomized admin password, updates the panel credentials, sets up system hostnames, and starts all panel services.
You do not need to do anything during this time.
### Step 2 - Get your login credentials
SSH into your server as the `root` user and run:
```bash
cat /root/.app_passwords
```
You will see output like this:
```
HESTIA_ADMIN_PASSWORD=your_secure_randomized_password
```
Save this password - you will need it to log in.
### Step 3 - Open the panel in your browser
Open your browser and navigate to:
```
https://<your-server-ip>:8083/
```
For example:
```
https://203.0.113.10:8083/
```
> **Browser warning:** HestiaCP uses a self-signed SSL certificate by default.
> When your browser shows a security warning, click **Advanced** then **Proceed** to continue.
> This is expected and safe for initial setup.
Log in with the following credentials:
- **Username:** `hestiaadmin`
- **Password:** The password retrieved in Step 2.
---
## Next Steps
Once you are logged into the HestiaCP Control Panel, here is what to do next.
### 1. Configure Server Hostname Properly
HestiaCP relies on the OS-level hostname for mail certificates and DNS matching. Follow this 3-step process to set it properly:
1. **Set the OS Hostname:** SSH into your server and run:
```bash
sudo hostnamectl set-hostname panel.yourdomain.com
```
2. **Update the Hosts File:** Edit `/etc/hosts` and ensure the `127.0.1.1` line maps to your new hostname:
```
127.0.1.1 panel.yourdomain.com panel
```
3. **Sync inside HestiaCP Panel:** Log into the control panel, navigate to **Server** -> **Configure**, and update the **Hostname** field to `panel.yourdomain.com`. Then run the SSL setup script to generate trusted certificates.
### 2. Add your first website
Go to **Web** -> **Add Web Domain**.
Enter your domain name (e.g., `example.com`), select the PHP version, configure SSL preferences, and click **Save**.
HestiaCP will automatically create the web root directory, configure Nginx virtual hosts, and optionally issue a Let's Encrypt certificate.
### 3. Create Mail Domains and Mailboxes
Go to **Mail** -> **Add Mail Domain** to register your mail domain.
Once registered:
- Go to **Mail** -> select your domain -> **Add Mail Account** to create individual email accounts.
- Use ports `25`, `465`, or `587` for sending mail (SMTP) and `110`, `995`, `143`, or `993` for receiving (IMAP/POP3).
### 4. Set up a real SSL certificate for websites
HestiaCP has built-in Let's Encrypt integration. To secure a website, edit the domain under **Web**, check **SSL Support** and **Let's Encrypt**, then click **Save**.
HestiaCP will automatically request, install, and renew the certificate.
### 5. Set up a real SSL certificate for the Control Panel itself
On first boot, the HestiaCP panel uses a temporary self-signed SSL certificate. Once you have pointed a domain (e.g., `panel.example.com`) to your server's public IP, run:
```bash
sudo /opt/hestiacp/setup-ssl.sh panel.example.com
```
This helper script automatically stops Nginx, requests the Let's Encrypt certificate, updates HestiaCP's panel SSL configuration, restarts services, and installs a secure auto-renewal deploy-hook.
---
## Access
| URL | Purpose |
|-----|---------|
| `https://<server-ip>:8083/` | HestiaCP Control Panel (HTTPS) |
| `http://<server-ip>/` | Default HTTP website landing page |
| `https://<server-ip>/` | Default HTTPS website landing page |
---
## Credentials
All credentials generated during deployment are stored in:
```bash
cat /root/.app_passwords
```
| Field | Description |
|-------|-------------|
| `HESTIA_ADMIN_PASSWORD` | Randomized admin password generated securely on first boot |
To view the first boot setup logs:
```bash
cat /var/log/cloud-init-output.log
```
---
## Managing the Server
### Services
```bash
# Check service statuses
systemctl status nginx
systemctl status mariadb
systemctl status exim4
systemctl status dovecot
systemctl status fail2ban
systemctl status hestia
# Restart a service (e.g. Nginx)
systemctl restart nginx
```
### Running Health Checks
To run the built-in system validation and health check suite, execute:
```bash
prove /root/app_test/main.t
```
### Firewall
```bash
# View open ports and firewall status
ufw status verbose
```
### Logs
```bash
# View HestiaCP panel logs
tail -f /var/log/hestia/nginx-access.log
tail -f /var/log/hestia/nginx-error.log
# View Nginx web server error logs
tail -f /var/log/nginx/error.log
# View mail server logs (Exim4 & Dovecot)
journalctl -u exim4 -u dovecot -f
```
---
## Troubleshooting
### Panel URL not opening in browser
1. Verify that Nginx is running: `systemctl status nginx`
2. Verify that HestiaCP is running: `systemctl status hestia`
3. Check that the HestiaCP port 8083 is listening: `ss -tlnp | grep 8083`
4. Verify that the UFW firewall allows traffic on port 8083: `ufw status | grep 8083`
5. Make sure you are explicitly typing `https://` in the browser (e.g., `https://<ip>:8083/`).
### First boot did not run
If `/root/.app_passwords` does not exist or the password is not set, you can trigger the initialization script manually:
```bash
sed -i 's/\r//' /var/lib/cloud/scripts/per-instance/001_onboot
bash /var/lib/cloud/scripts/per-instance/001_onboot
```
Then read your credentials again:
```bash
cat /root/.app_passwords
```
---
## Security
| Feature | Detail |
|---------|--------|
| Firewall | UFW enabled - only minimal essential ports open by default |
| SSH Security | Rate limited on port 22 to block brute force attempts |
| Dynamic Passwords | Never baked into the image - uniquely randomized at first boot |
| File Credentials | `/root/.app_passwords` is owned by `root:root` with secure permissions (`0600`) |
| Intrusion Prevention | Fail2ban monitors log files and automatically bans abusive IPs |
| HTTPS Panel | SSL encryption active by default on the control panel (port 8083) |
---
## Services
| Service | Port | Purpose |
|---------|------|---------|
| HestiaCP (Nginx) | 8083 | Web administration interface |
| OpenSSH | 22 | Secure remote server access |
| Nginx | 80 / 443 | Web server (HTTP / HTTPS) |
| Exim4 | 25 / 465 / 587 | Mail server (SMTP / SMTPS) |
| Dovecot | 110 / 995 / 143 / 993 | Mail server (POP3 / POP3S / IMAP / IMAPS) |
| MariaDB | 3306 | Local SQL Database (internal only) |
---
## Links
- Manage: [https://<server-ip>:8083/](https://<server-ip>:8083/)
- HestiaCP Official Website: [https://hestiacp.com/](https://hestiacp.com/)
- HestiaCP Documentation: [https://docs.hestiacp.com/](https://docs.hestiacp.com/)
- Ubuntu 24.04 LTS Release Notes: [https://wiki.ubuntu.com/NobleNumbat/ReleaseNotes](https://wiki.ubuntu.com/NobleNumbat/ReleaseNotes)