AdminsForum

Paste the error. Find the fix.

Step-by-step guides and community answers for Linux servers, VPS and hosting control panels.

New threads

The latest guides and questions from every forum.

Web servers

How to Fix Nginx 502 Bad Gateway — Complete Troubleshooting Guide

A 502 Bad Gateway means a gateway did not receive a usable response from its upstream. Fix the failed link in the request path rather than repeatedly restarting the whole server.

Scope: This guide covers Nginx in front of PHP-FPM or an HTTP application on Linux. Commands assume a conventional systemd installation. Panel-managed Nginx may have different binaries, paths and service names; use the panel's supported configuration tools and logs. Back up the affected configuration before editing. Never share unredacted nginx -T output: configuration can contain secrets.

1. Identify which layer returns the error
Write down the failing URL, time, request method and whether all pages fail or only one application. A CDN, load balancer, Nginx or the application itself can return 502. Response branding and headers are clues, not proof. Correlate the same request with each layer's logs.

For a harmless public endpoint:
Code:
curl -sS -D - -o /dev/null https://example.com/health
Use a real, safe URL; do not replay payments or other state-changing requests. If authorized to test the origin directly, preserve the hostname and TLS validation:
Code:
curl --resolve example.com:443:YOUR_ORIGIN_IP -sS -D - -o /dev/null https://example.com/health
Do not add -k to hide a certificate problem. An origin restricted to the CDN may correctly reject your workstation.

2. Read the matching error log
Find the error_log directive for the affected virtual host. /var/log/nginx/error.log is a common package default, not a universal path:
Code:
sudo tail -n 100 /var/log/nginx/error.log sudo journalctl -u nginx --since "15 minutes ago" --no-pager sudo nginx -t
Inspect nginx -T locally if you need to locate the active server block, proxy_pass or fastcgi_pass. Ensure you are using the binary/configuration that the running service actually uses. Note the upstream address and exact error.
  • Connection refused: The target port/socket has no accepting service, or a device actively rejects it. Check process health and listener address.
  • No such file or directory: A Unix socket path is wrong or the expected socket was never created.
  • Permission denied: Check socket and parent-directory access plus SELinux/AppArmor denials.
  • Upstream prematurely closed connection: Investigate application crashes, worker termination and backend logs.
  • Upstream sent invalid header / too big header: Inspect backend output, cookies and response headers. Protocol mismatch or oversized headers needs a specific fix.
  • Upstream timed out: Investigate slow or overloaded dependencies. This often produces 504; error-page mappings and intermediate gateways can change the displayed status.

3. Check backend health and capacity
Code:
sudo ss -lntp sudo ss -lxnp systemctl --failed free -h df -h df -i sudo journalctl -k --since "30 minutes ago" --no-pager
Look for an OOM kill, exhausted disk/inodes, a crash loop or a deployment at the same timestamp. Confirm the backend's service name before inspecting its status and journal. Restart only the affected service after capturing evidence and understanding the impact; repeated restarts can hide the cause and interrupt healthy requests.

4. PHP-FPM: make the listener and fastcgi_pass agree
A PHP version change commonly leaves Nginx pointing at an old socket. Discover your installed FPM units instead of assuming a PHP version:
Code:
systemctl list-units --all --type=service 'php*-fpm.service' ls -l /run/php/
Inspect the selected FPM pool's listen setting and the site's fastcgi_pass. These are alternative examples, not values to paste blindly:
Code:
# Unix socket example fastcgi_pass unix:/run/php/php8.3-fpm.sock; # TCP listener example fastcgi_pass 127.0.0.1:9000;
Use the actual path/address, and keep FPM on a private interface. Port 9000 is FastCGI, not HTTP: curl to it is not a valid application health check. Verify that the Nginx worker identity can traverse the socket's parent directories and access the socket. Correct FPM listen.owner, listen.group and listen.mode as appropriate for your deployment; a manual chmod may disappear when FPM recreates the socket.

Do not use chmod 777 or disable SELinux/AppArmor. If discretionary permissions look correct, inspect security-policy denials. If FPM logs show pm.max_children saturation, measure worker memory and request duration before changing limits. More workers can trigger OOM on a small VPS. Also inspect database latency and slow requests.

5. HTTP applications: test the configured endpoint locally
For an application intentionally listening on loopback TCP 3000:
Code:
curl --max-time 10 -sS -D - -o /dev/null http://127.0.0.1:3000/health
Replace the port/path with the real endpoint. If it requires a Host header, include the expected hostname. If this fails, fix the backend before editing Nginx. If it succeeds, compare the endpoint with proxy_pass and check whether the backend expects HTTP or HTTPS. Preserve certificate validation and configure upstream SNI/trust correctly for HTTPS.

Inside a container, 127.0.0.1 means that container, not another container or the host. Verify service DNS names, networks and listeners from the Nginx container's context. Avoid publishing an internal application port to the Internet as a troubleshooting shortcut.

6. Check changes and limits without guesswork
If the backend is reachable but only large/login responses fail, inspect the exact header/buffer error and backend response. Fix oversized cookies or abnormal headers first. Change proxy/FastCGI buffer directives only for the relevant site with a measured requirement.

If requests are slow, inspect application, database and external API timing before raising proxy_read_timeout or fastcgi_read_timeout. Those read timeouts concern inactivity between reads, not a universal total-request deadline. Raising them cannot repair a dead listener and may keep scarce workers occupied longer. Prefer background jobs for long-running work.

7. Apply one fix and verify it
After a backed-up configuration edit:
Code:
sudo nginx -t
Only if the test succeeds, reload using the deployment's supported mechanism. On a conventional package installation:
Code:
sudo systemctl reload nginx
Test the affected endpoint and a normal page again, check the logs for fresh errors and watch the backend under realistic traffic. A successful syntax check does not prove the upstream works. If the change fails, restore the saved configuration, validate it and reload. On panels, keep persistent changes in the supported template/settings so regeneration does not overwrite them.

When asking for help, include: OS, panel/container details, Nginx/PHP/app versions, the relevant redacted error line, whether static/PHP/all routes fail, the configured upstream type and the last change before failure. Remove tokens, private keys, credentials and user data from logs/configuration.

Official references
DEV 10-07-2026, 05:51 PM Read thread
Linux administration

15 Things to Do After Buying a New VPS

What should you do first after buying a VPS?
Confirm recovery-console access, update the OS, create a named administrator with SSH keys, allow only the required ports, and set up off-site backups. Verify a fresh login and a restore before installing a hosting panel or moving a live website.

Review status: Documentation reviewed on 9 October 2026. Fresh-VPS walkthrough testing and original screenshots are pending; no OS or panel version is claimed as hands-on tested. Record your exact release with cat /etc/os-release before using these examples.

Scope: Commands below target a fresh, systemd-based Ubuntu/Debian VPS. AlmaLinux/Rocky use different package and firewall tools; do not paste these commands there. Use a supported OS release. If a control panel is already installed, follow its supported update, firewall and backup procedures.

Before you start: Keep your current SSH session open and confirm the provider's web/serial console works. Replace YOUR_SERVER_IP and adminuser with your own values. Run sudo commands as a sudo-capable user; on an initial root session, omit sudo. Never paste passwords, private SSH keys or access tokens into a forum post.

1. Check what you actually bought
Verify the IP addresses, RAM, storage, bandwidth allowance, virtualization type, renewal cost and backup options in the provider dashboard. Check that the guest matches the plan:
Code:
cat /etc/os-release uname -r nproc free -h lsblk df -hT
A disk advertised by the provider and the usable filesystem size can differ. Investigate an unexpectedly small filesystem before storing data; do not resize partitions blindly.

2. Establish a recovery path
Open the provider console before changing SSH or firewall settings. Know how rescue mode works and record the server ID and support contact in a private runbook. Take a baseline snapshot if available. Snapshots on the same provider are convenient rollback points, but they are not an independent backup.

3. Verify the SSH host key
On first connection, compare the host-key fingerprint with one obtained through the provider console or another trusted provider channel. In the server console:
Code:
sudo ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub
From your own computer:
Code:
ssh root@YOUR_SERVER_IP
Use the initial username specified by your provider if it is not root. A changed host-key warning may follow a reinstall, but can also indicate an attack. Investigate it before accepting a replacement key; do not simply erase the warning.

4. Patch the fresh operating system
Code:
sudo apt update apt list --upgradable sudo apt upgrade
Read the proposed changes and configuration-file prompts. Do not force an unattended upgrade on a server you have not inspected. If the system reports a required reboot, schedule one while the console is available, then reconnect and check services. Do not treat a routine package upgrade as a distribution upgrade.

5. Create a named administrator
Use a personal account for daily work and sudo for privileged tasks:
Code:
sudo adduser adminuser sudo usermod -aG sudo adminuser
Set a strong, unique local password when prompted. Log in as that user in a second session and verify:
Code:
whoami sudo -v sudo id
Do not remove the original access method until the new account and sudo both work.

6. Set up an SSH key from your own computer
On a computer with OpenSSH installed, generate a key only if you do not already have a suitable one. Choose a new filename if prompted about overwriting an existing key, and protect it with a passphrase:
Code:
ssh-keygen -t ed25519 -C "vps-admin"
On Linux/macOS, if ssh-copy-id is available:
Code:
ssh-copy-id adminuser@YOUR_SERVER_IP ssh adminuser@YOUR_SERVER_IP
Use -p with the actual SSH port if it differs from 22. If ssh-copy-id is unavailable, install only the public .pub key in the user's ~/.ssh/authorized_keys through your trusted console/login. The .ssh directory should be owned by that user with mode 700, and authorized_keys with mode 600. The private key stays on your computer.

7. Harden SSH without locking yourself out
Do this only after a fresh key-based login and sudo have succeeded. Back up the SSH configuration, including any snippets, and inspect /etc/ssh/sshd_config and /etc/ssh/sshd_config.d/. Provider/cloud-init snippets and Match blocks can affect the result.

Use sudoedit to update the configuration file that actually controls these settings:
Code:
PermitRootLogin no PubkeyAuthentication yes PasswordAuthentication no KbdInteractiveAuthentication no
The last setting disables keyboard-interactive authentication; do not disable it if your planned MFA uses that method. Validate syntax and inspect effective settings before reloading:
Code:
sudo /usr/sbin/sshd -t sudo /usr/sbin/sshd -T | grep -E '^(permitrootlogin|pubkeyauthentication|passwordauthentication|kbdinteractiveauthentication|port) ' sudo systemctl reload ssh
If syntax validation fails, correct it before reloading. sshd generally uses the first obtained value for a setting, so adding a later snippet may not override an earlier one. For Match rules, also check the intended user/client context with sshd -T -C (see man sshd). Open another fresh connection to confirm the intended authentication policy. Keep the original session until that works. A custom port reduces log noise; it is not a substitute for keys and access controls.

8. Configure both firewall layers
Check the provider/cloud firewall as well as the guest firewall. Allow your actual SSH port before enabling either. The following UFW example assumes SSH really listens on TCP 22 and a fresh server without Docker or a panel-managed firewall:
Code:
sudo apt install ufw sudo ufw default deny incoming sudo ufw default allow outgoing sudo ufw allow 22/tcp sudo ufw enable sudo ufw status verbose
For a web server, add TCP 80 and 443 only when required. Avoid exposing database, Redis or panel ports to the whole Internet; prefer loopback, a VPN or restricted source addresses. Apply and test IPv6 rules too if IPv6 is enabled. Docker-published ports need separate attention because their traffic may bypass normal UFW expectations. After every change, test a new SSH connection. If locked out, use the provider console to repair the relevant rule; repeatedly reconnecting will not fix a blocked port.

9. Set a useful hostname and verify time
Pick a hostname you control, such as vps1.example.com:
Code:
sudo hostnamectl set-hostname vps1.example.com hostnamectl timedatectl status
Check /etc/hosts and provider/cloud-init behavior if the name reverts after reboot. A hostname change does not create a DNS record. UTC is convenient for servers; use sudo timedatectl set-timezone UTC if that suits your operations. Verify an NTP service is actually synchronizing rather than assuming the displayed time is correct. Bad time can break TLS checks, authentication and useful log correlation.

10. Plan DNS before moving traffic
Create an A record for the public IPv4 address. Add AAAA only after IPv6 routing, firewall rules and the service have been tested. Check resolution from your workstation and an external network:
Code:
dig +short A vps1.example.com dig +short AAAA vps1.example.com
If dig is missing on Ubuntu/Debian, it is supplied by dnsutils. Allow for DNS caching. Reverse DNS (PTR) is usually set in the provider dashboard and matters especially for mail. Do not deploy a mail server before checking outbound port restrictions and SPF/DKIM/DMARC requirements.

11. Inspect listening services before adding more
Code:
sudo ss -lntup systemctl --failed systemctl list-unit-files --state=enabled
Understand every public listener. Bind internal services to loopback/private networks and remove unneeded software only after checking dependencies. Install a control panel only on an OS and clean-server setup supported by its vendor. Verify installers against the vendor's official instructions; do not run a random downloaded script as root. Keep SELinux/AppArmor enabled and troubleshoot policy denials instead of disabling protection as a shortcut.

12. Configure automatic security updates deliberately
Ubuntu commonly includes unattended-upgrades, but provider images vary. Check your own configuration:
Code:
sudo apt install unattended-upgrades sudo dpkg-reconfigure -plow unattended-upgrades sudo unattended-upgrade --dry-run --debug
Review /etc/apt/apt.conf.d/50unattended-upgrades and the periodic-update configuration. Confirm which repositories are covered, how failures are reported and whether automatic reboot is enabled. Third-party repositories are not automatically covered just because they were added. For panel-managed systems, check vendor compatibility first and schedule required reboots.

13. Add monitoring and actionable alerts
Monitor external availability, disk space and inodes, memory pressure, CPU, failed services, certificate expiry and backup failures. Start with a baseline:
Code:
uptime free -h df -h df -i systemctl --failed sudo journalctl -p err -b --no-pager
Test the alert delivery path. An alert stored only on the failed VPS is not useful. Low "free" RAM alone is not a problem: Linux uses memory for cache, so examine available memory, swap activity and application symptoms. Sustained resource pressure needs investigation, not an automatic reboot or blind tuning.

14. Build off-site backups and prove a restore
Back up application data, database dumps, configuration and the information needed to rebuild. Store an encrypted copy outside this VPS/provider account, protect backup credentials and define retention. Database backups need application-consistent dumps or a supported snapshot/quiescing process; copying live database files can produce an unusable backup.

Restore into an isolated temporary environment. Verify files, ownership, database contents and that the application starts. Record the recovery point objective (how much data you can lose) and recovery time objective (how long recovery may take). A successful upload or a provider snapshot alone does not prove recoverability.

15. Reboot, retest and write a private runbook
Once access and backups are ready, do a planned reboot from the console or with sudo reboot. Confirm SSH, firewall policy, DNS, expected services, monitoring and backup schedules survive it. Record the OS version, purpose, ports, update schedule, backup location and recovery steps. Store secrets in a password manager, not in the runbook or forum.

Useful troubleshooting shortcuts
  • SSH times out: Check the correct IP/port, provider firewall, UFW, routing and service listener through the console. Test IPv4 and IPv6 separately.
  • Connection refused: Check sudo systemctl status ssh and sudo ss -lntp. The host may be reachable but nothing is listening on that port.
  • Permission denied (publickey): Check the username, chosen key, ownership/modes and server logs. Use ssh -v from your computer; redact identifying details before sharing output.
  • Updates fail: Check disk/inodes, DNS, clock and repository errors. Wait for legitimate package jobs to finish; do not delete package-manager lock files to force access.
  • Website fails only on some networks: Check stale DNS and a broken AAAA record before changing the web server.

Done means verified: a fresh key-based administrator login works, only intended ports are reachable, updates are covered, alerts arrive, and an off-site backup has been restored successfully.

Official references
What OS and workload are you setting up? Share the non-sensitive details if you need help adapting this checklist.

Final verification checklist
  • Provider recovery console opens and the server identity is verified.
  • A fresh SSH-key login as your named administrator works, with sudo access.
  • Only intended services are reachable through both firewall layers.
  • OS update policy, DNS and time synchronization are checked.
  • Monitoring alerts reach you outside the VPS.
  • An off-site backup has been restored in an isolated environment.
  • The access, services and scheduled jobs still work after a planned reboot.

Common questions
Should I install aaPanel before doing this checklist?
Prepare and verify the fresh VPS first. Then check aaPanel's current OS requirements and use its supported installation and firewall procedures.

Is a provider snapshot enough as my only backup?
No. Keep an independent copy outside the VPS and test a restore. A snapshot is useful for rollback but can share the same account or provider failure.

Do I need to change SSH port 22?
Changing the port can reduce log noise, but keys, tested access controls and a recovery path matter more. Allow and verify the actual port before changing firewall rules.

Continue with aaPanel
DEV 10-07-2026, 05:42 PM Read thread
Comparisons and migrations

aaPanel vs CyberPanel vs HestiaCP vs CloudPanel: which one fits you?

A quick, practical comparison to help you choose. All four are free.

aaPanel
  • Web server: Nginx, Apache or OpenLiteSpeed (your choice)
  • Mail/DNS: available through plugins
  • Best for: one or a few sites on a VPS, with lots of tools in one interface

CyberPanel
  • Web server: OpenLiteSpeed (or LiteSpeed Enterprise)
  • Mail/DNS: built in
  • Best for: fast WordPress hosting with LSCache, and hosting for clients

HestiaCP
  • Web server: Nginx, optionally with Apache
  • Mail/DNS: built in
  • Best for: a lightweight, open-source all-rounder with a strong CLI; former VestaCP users

CloudPanel
  • Web server: Nginx, with Varnish support
  • Mail/DNS: not included (use external providers)
  • Best for: performance-focused PHP, Node.js and Python apps on cloud servers

Rules of thumb
  • Need email on the same server? Look at CyberPanel or HestiaCP.
  • Mostly WordPress and want speed? CyberPanel.
  • Running Node.js or Python apps next to PHP? CloudPanel.
  • Want a big toolbox in one interface? aaPanel.

Which one do you run, and why? Add your experience below.
JAY 10-07-2026, 02:04 AM Read thread
Comparisons and migrations

Leaving cPanel: what is the smoothest migration path?

cPanel licence prices keep going up and I'm planning to move my sites to a free panel. For anyone who has done it: what's the smoothest way?

What has worked for most people:

  1. Pick the target panel first, based on what you actually use (do you need email on the server? which PHP versions?). See the comparison thread in this forum.
  2. Take full cPanel backups of each account (Backup Wizard), plus separate database dumps as a safety net.
  3. Check for an importer. Some panels can import cPanel backups directly; CyberPanel and HestiaCP have tools for this. Test with one small account first.
  4. For everything else, move manually: files with rsync, databases with mysqldump, then recreate email accounts and DNS records.
  5. Lower DNS TTL beforehand, test each site on the new server through your hosts file, then switch DNS.
  6. Email is the hardest part. Move mailboxes with an IMAP sync tool, and keep the old server running for a few days so nothing is lost while DNS updates.

Please share which panel you moved to and any problems you hit along the way.
JAY 10-07-2026, 02:04 AM Read thread
Other panels

Other free hosting panels worth knowing about

Beyond the big names, these panels each fit a particular kind of setup:
  • Webmin and Virtualmin: Webmin is a long-running, open-source web interface for administering a Linux system. Virtualmin adds virtual hosting on top (sites, mail, DNS, databases). Very flexible; the interface is busier than newer panels.
  • ISPConfig: open-source and built for multi-server setups, where web, mail, DNS and databases can run on separate machines managed from one panel.
  • Froxlor: a lightweight open-source panel for hosting providers and small setups, configured mostly through its web interface.
  • KeyHelp: a free (not open-source) panel from a German hosting company, with a clean interface and mail, DNS and backups included.
  • Coolify: not a classic hosting panel but an open-source, self-hosted platform for deploying apps, databases and services with Docker. A good fit for developers who want a Heroku-style workflow on their own server.

Use this forum for questions about any of these, or about any other free panel not listed. Please mention the panel name and version in your thread title.
JAY 10-07-2026, 02:04 AM Read thread
CloudPanel CLI (clpctl) & Automation Guides

CloudPanel: getting started with the clpctl command

CloudPanel: getting started with the clpctl command

CloudPanel comes with clpctl, a command-line tool for jobs you'd otherwise click through in the browser. You don't need it for everyday work, but it's the tool that saves you when the web interface is out of reach, and it makes repeat jobs fast and identical every time. This guide explains how clpctl is organised, how to explore it safely and which commands are worth knowing first. For a full list, keep the clpctl cheat sheet open.

Two kinds of commands: root and site user
clpctl has two groups of commands, and which user you are decides which ones work:
  • Root user commands manage the whole server: sites, panel users, databases, certificates, vhost templates and panel security. Log in over SSH as root for these.
  • Site user commands work inside one site: resetting file permissions, exporting and importing that site's databases, and purging its Varnish cache. Log in as the site user, or switch from root with
    Code:
    su - siteuser
    .
Using the wrong user is the most common reason a command "doesn't work". More on that in clpctl errors: command not found, wrong user and quoting.

Explore without changing anything
List every command available to the current user:
Code:
clpctl list
Show the options of one command before you run it:
Code:
clpctl site:add:php --help
Commands are named
Code:
area:action
(for example
Code:
db:export
or
Code:
lets-encrypt:install:certificate
), and options use camelCase:
Code:
--domainName
,
Code:
--databaseName
,
Code:
--userName
.

Safe commands to try first
These only read information, so they're a good way to get comfortable. As root:
Code:
clpctl user:list clpctl vhost-templates:list clpctl db:show:master-credentials
The last one prints the database master login. Treat its output like a password: don't paste it into tickets or forum posts.

As a site user, inside the site folder, a harmless one is purging the site's cache:
Code:
clpctl varnish-cache:purge --purge=all

Commands worth knowing for emergencies
  • Lost the panel password:
    Code:
    clpctl user:reset:password --userName='john.doe' --password='New-Strong-Pass'
  • Lost your 2FA device:
    Code:
    clpctl user:disable:mfa --userName='john.doe'
  • Locked out by panel Basic Auth:
    Code:
    clpctl cloudpanel:disable:basic-auth
  • Messed-up file permissions (as the site user, in the site folder):
    Code:
    clpctl system:permissions:reset --directories=770 --files=660 --path=.
Step-by-step help for lockouts: Can't log in to CloudPanel?

Good habits
  • Put option values in single quotes, especially passwords with
    Code:
    !
    or
    Code:
    $
    in them.
  • Take a snapshot or backup before commands that change or delete things (
    Code:
    site:delete
    ,
    Code:
    db:import
    ).
  • Try new commands on a test site first.
  • When you script clpctl, log the output so you can see failures later.

Sources: CloudPanel: root user commands · CloudPanel: site user commands
JAY 10-07-2026, 02:03 AM Read thread
HestiaCP

What is HestiaCP? The maintained successor to VestaCP

What is HestiaCP?

HestiaCP (Hestia Control Panel) is a free, open-source hosting panel licensed under GPLv3. It started as a fork of VestaCP and is now actively maintained, while VestaCP itself has been largely abandoned. If you still run VestaCP, Hestia is the natural place to move to.

Main features
  • Web: Nginx, optionally with Apache behind it, and multiple PHP-FPM versions per site.
  • Mail: Exim and Dovecot, with webmail, SPF/DKIM support and spam filtering.
  • DNS: BIND, so the server can host your zones (and act as a DNS cluster).
  • Free SSL with Let's Encrypt for sites, mail and the panel.
  • Users and packages for hosting clients, plus backups and a file manager.
  • A full command-line toolkit: every panel action has a matching v-* command.

Good to know
  • Default panel port is 8083: https://your-server:8083
  • Supported on Debian and Ubuntu. Install on a clean server.
  • Templates for Nginx and PHP-FPM live in /usr/local/hestia/data/templates/ and can be customised per site.

HestiaCP is a solid choice if you want a lightweight, open-source panel with mail and DNS included and a strong CLI.
JAY 10-07-2026, 02:03 AM Read thread
HestiaCP

Useful HestiaCP command-line (v-*) commands

Everything you can do in the HestiaCP web interface has a matching command. They live in /usr/local/hestia/bin and are run as root. A few that come up all the time:

Users and domains
Code:
v-list-users v-list-web-domains admin v-change-user-password admin 'NewStrongPassword'

SSL
Code:
v-add-letsencrypt-domain admin example.com www.example.com
If issuing fails, check that the domain and every alias already point to this server and that port 80 is reachable.

Backups
Code:
v-backup-user admin v-list-user-backups admin

Services
Code:
v-restart-web v-restart-proxy v-list-sys-services

Tips
  • If the commands aren't found, add the folder to your PATH or call them with the full path, e.g. /usr/local/hestia/bin/v-list-users
  • Most commands accept an output format at the end, e.g. v-list-users json, which is handy for scripts.
  • Run a command without arguments to see its usage line.
JAY 10-07-2026, 02:03 AM Read thread
CloudPanel Getting Started Guides

What Can You Host on CloudPanel? PHP, Node.js, Python, Static Sites and Proxies

What can you host on CloudPanel? PHP, Node.js, Python, static sites and reverse proxies

CloudPanel is a free control panel built on Nginx, but it isn't only for PHP. When you add a site it offers six site types, and each one gets its own Linux site user and a ready-made Nginx configuration. This guide explains what each type is for and what you'll be asked when you create it, so you can pick the right one first time.

For a full introduction, see What is CloudPanel? Complete overview.

[Image: attachment.php?aid=236]

1. WordPress
Use it for: blogs, business sites and WooCommerce shops.
CloudPanel creates the site user, the database and a fully configured WordPress install in one step, with no setup wizard. It pairs well with CloudPanel's built-in Varnish Cache.
Step by step: How to install WordPress in CloudPanel.

2. PHP application
Use it for: any PHP code: Laravel, Symfony, Magento, Drupal, Joomla, Shopware, PrestaShop, Nextcloud, Moodle, TYPO3 and more.
You choose: the Application (Generic or a framework template that sets the right rewrite rules), the domain and the PHP version (7.1 to 8.5, changeable later).
[Image: attachment.php?aid=269]
Step by step: How to create a PHP site in CloudPanel.

3. Node.js app
Use it for: Node.js apps and APIs, for example Ghost or Strapi.
You choose: the domain, the Node.js version (LTS versions from 12 to 24) and the App Port your app listens on. Nginx serves the domain and passes requests to that port.
Keeping it running: CloudPanel's docs use pm2 as the process manager:
Code:
npm install pm2@latest -g pm2 start npm --name my-app -- start pm2 save
To restart it after a reboot, add a cron job for the site user with
Code:
@reboot pm2 resurrect
(and set PATH in that crontab so Node is found).

4. Python app
Use it for: Django, Flask, FastAPI and other Python web apps.
You choose: the domain, the Python version (3.12 on Ubuntu 22.04/24.04 and Debian 12; 3.14 on Ubuntu 26.04 and Debian 13) and the App Port. CloudPanel's docs cover running Python apps with uWSGI.

5. Static HTML site
Use it for: plain HTML/CSS/JavaScript sites, landing pages and the built output of static site generators (Hugo, Jekyll, Astro, a React or Vue build).
You choose: just the domain. Upload your files to the site's htdocs folder and Nginx serves them directly. It's the fastest and simplest option.

6. Reverse proxy
Use it for: anything else running on the server or another machine: a Docker container, a Go or Java app, Uptime Kuma, n8n, a self-hosted tool on another port.
You choose: the domain, the Reverse Proxy URL (for example
Code:
http://127.0.0.1:3001
) and a site user. CloudPanel handles the domain and free SSL, and forwards traffic to that URL.
This is also how you run Docker apps with CloudPanel, since it has no built-in Docker manager.

Which type should I choose?
  • WordPress site? Use WordPress, not PHP. You get a ready install in one step.
  • PHP framework or shop? Use PHP with the matching application template.
  • App that runs its own server process (Node.js, Python)? Use Node.js or Python with the app's port.
  • Only files, no server code? Use Static HTML.
  • Docker container or any other service? Use Reverse proxy.

Good to know
  • Every site type gets its own site user, so sites are isolated from each other.
  • Every type can use a free Let's Encrypt certificate: How to install free SSL in CloudPanel.
  • CloudPanel has no mail server or DNS hosting; use external services for those.

Sources (checked October 2026): CloudPanel: Add Site · Technology stack · Node.js with pm2

Not sure which type fits your app? Ask in CloudPanel Getting Started Support.
JAY 10-07-2026, 02:03 AM Read thread
FASTPANEL

FASTPANEL: best way to move sites from another server?

I'm moving about 15 sites (mostly WordPress) from an old server to a new one running FASTPANEL. What's the least painful way to do it without downtime?

The approach that usually works best:

1. Lower DNS TTL to around 300 seconds a day before the move, so the switch spreads quickly.

2. Create each site and database in FASTPANEL first, with the same domain name and PHP version as before.

3. Copy files with rsync over SSH (fast, resumable, keeps permissions):
Code:
rsync -avz --progress old-server:/path/to/site/ /var/www/user/data/www/example.com/
Adjust the destination to the site path FASTPANEL shows you.

4. Export and import each database:
Code:
mysqldump -u olduser -p olddb > site.sql mysql -u newuser -p newdb < site.sql

5. Update config files (wp-config.php etc.) with the new database name, user and password.

6. Test before switching DNS by pointing the domain to the new IP in your own hosts file.

7. Switch DNS, then issue Let's Encrypt certificates in FASTPANEL once the domain resolves to the new server.

FASTPANEL also has its own transfer tools for importing sites. If anyone has used them for a bigger migration, please share how it went.
JAY 10-07-2026, 02:03 AM Read thread