Install Hfog Panel on your own server
One command on a fresh Ubuntu, Debian, Rocky Linux or AlmaLinux server installs every panel, email, DNS and free SSL. Start with a 30-day free trial.
What works on each system, and what the installer checks: System requirements. Step by step at your server provider: Install at your VPS provider.
1. Point your domain at the server
Before you install, add these A records at your DNS provider, so one free certificate covers them all. Not ready yet? That's fine — the real certificate is installed by itself within 5 minutes of DNS pointing at the server. Mail records and your own nameservers: DNS setup.
| Name | Type | Value | For |
|---|---|---|---|
| yourdomain.com | A | your server’s IP | Your domain itself |
| srv.yourdomain.com | A | your server’s IP | Server Admin (for you) |
| cp.yourdomain.com | A | your server’s IP | Control Panel (customers) |
| rs.yourdomain.com | A | your server’s IP | Reseller Panel |
| fm.yourdomain.com | A | your server’s IP | Files |
| dbs.yourdomain.com | A | your server’s IP | DB Studio |
| api.yourdomain.com | A | your server’s IP | The API |
| mail.yourdomain.com | A | your server’s IP | Mail and the mail server |
| smtp.yourdomain.com | A | your server’s IP | Mail apps: outgoing mail |
| imap.yourdomain.com | A | your server’s IP | Mail apps: incoming mail |
| ftp.yourdomain.com | A | your server’s IP | FTP |
| pay.yourdomain.com | A | your server’s IP | Payment pages (if your licence includes Billing) |
| hook.yourdomain.com | A | your server’s IP | Stripe and PayPal webhooks (if your licence includes Billing) |
Related guide: Set up email that reaches the inbox
2. Run the installer
Sign in to the server as root and run:
curl -fsSL https://cdn.hostfog.io/latest | bash3. Finish in your browser
No licence key is needed. In about 20 seconds the command checks the server and prints one link (and a QR code): https://your-server-ip:2087/setup?code=…. Open it and the rest happens in your browser: the server check, your domain and what to install, Start free trial (30 days, every feature, no card needed) or the key you bought, your admin login, then the install with its live progress. You can close the SSH window. Buy a licence any time before the trial ends.
Lost the link? Run hfog-agent setup-code on the server for a new one. For scripts, install without the browser: end the command with | bash -s -- --yes --domain yourdomain.com --email you@yourdomain.com --trial.
4. Sign in
Your panel then lives at https://srv.yourdomain.com:8443. Your customers sign in at cp.yourdomain.com:2087 and resellers at rs.yourdomain.com:2086.
Related guide: Move websites to a new server without downtime
Updating
Server Admin → Hfog Panel updates installs a new version with one click while your licence is active, or run the same installer command again — your accounts and settings stay as they are.
Integrations
Sell hosting with WHMCS or Blesta? These modules create, suspend, upgrade and delete Hfog Panel accounts from your billing system, and sign customers in to their Control Panel with one click.
Watch the install happen
Your browser shows each step as it runs and the server is checked at the end, so you know everything works before your first customer signs in.
- Web server, PHP versions, databases, email and DNS
- Free SSL for the panels and every domain
- Firewall, nightly backups and updates switched on
