CloudPanel: server and site security
In the examples 203.0.113.10 is your server address and my-site.com is your domain. The server address and panel password are in the e-mail with your credentials.
Firewall
"Admin Area" → "Security" → "Firewall". Only allowed ports are open. After installation:
| Port | Purpose | Recommendation |
|---|---|---|
22 | SSH, SFTP | restrict to your IP |
80 | HTTP | keep open |
443 | HTTPS | keep open |
8443 | panel | restrict to your IP or Basic Auth |

Add a rule
- Click "Add Rule".
- Type: a predefined port or "custom" with a range.
- Source: "0.0.0.0/0" (everyone) or an address, e.g.
198.51.100.7. - Click "Add Rule".

Do not delete the 80 and 443 rules. Do not close port 22 for your own address. Lost access — contact support.
Site protection
Site → "Security" tab.

- IP blocking: "Add IP". An IPv4 or IPv6 address.
- Bot blocking: "Add Bot". A name from the User-Agent, e.g.
AhrefsBot. Do not block Google bots. - Basic Auth: a password on the whole site. For a site under development. "Whitelisted IPs" — addresses without a password.
- Cloudflare only: blocks requests to the server that bypass Cloudflare.
Users and updates
Every employee gets their own account (Panel users) and two-factor authentication. Do not share the admin password.
The panel and the system are updated by support. Site plugins and themes are updated by you.