CloudPanel manages your server’s sites, so its security is a priority. In this guide from the Hyyat Host team we walk through the key practical steps to secure the panel after installation.
This guide follows on from the CloudPanel install guide; apply these steps right after installation.
1) Enable two-factor authentication (2FA) #
CloudPanel supports two-step verification for your account. Enable it from your profile settings with an app like Google Authenticator, so even if the password leaks, no one gets in without your phone’s code.
- Open your profile Click your account at the top of the panel then profile settings.
- Enable Two-Factor Authentication Scan the QR code with an authenticator app, enter the code to confirm, then save.
2) Use a strong password #
Make your account password long and unique, and change it immediately if it is default or weak. CloudPanel enforces a password policy, so make sure it is genuinely strong.
3) Restrict port 8443 with the firewall #
CloudPanel includes a firewall under Admin Area → Security → Firewall. Allow access to the panel port 8443 from your own IP only where possible, and close unused ports.
- Open the firewall Enter
Admin AreathenSecuritythenFirewall. - Restrict the panel port Add a rule allowing port 8443 from your IP only if it is static.
4) Enable Basic Auth for staging sites #
For sites not ready to publish, enable Basic Auth (a username and password) from the site page, so no one reaches them before they are finished.
5) Keep the panel and system updated #
Updates close security holes as they are found. Update system packages regularly, and update CloudPanel with:
clpctl update
It is also recommended to update the system:
apt update && apt upgrade -y
Quick security checklist #
- Strong, unique account password ✔
- Two-factor authentication enabled ✔
- Port 8443 restricted by the firewall ✔
- Basic Auth on staging sites ✔
- Panel and system updated ✔
Next step #
- Enable 2FA and restrict the panel port.
- Review your firewall and close unused ports.
- See the VPS control panel comparison to learn each panel’s strengths.
And if you’d like us to secure your server and panel for you, open a support ticket — we reply within 24 hours at most.
Frequently asked questions #
What is the most important step to secure CloudPanel?
Enabling two-factor authentication for your account and using a strong, unique password.
How do I restrict access to the panel?
From Admin Area → Security → Firewall restrict port 8443 to your IP.
How do I update CloudPanel?
With the clpctl update command on the server, and update the system with apt regularly.