1. Turn on two-factor authentication
Start with the cPanel account itself. If your provider has enabled the feature, set up two-factor authentication with an authenticator app and keep the recovery process somewhere safe. cPanel requires your password plus a time-based six-digit code, so a stolen password alone is less useful to an attacker.
Do not assume this protects every connected path. cPanel notes that password-authenticated API requests can bypass the normal 2FA challenge unless the provider applies security policies. Prefer API tokens for integrations and delete unused tokens.
2. Use a unique password and trim access
Use a long, unique password for cPanel and store it in a reputable password manager. Never reuse it for email, billing, domain registration, or your computer. If several people manage the site, give each person only the access they need and remove old users rather than sharing one administrator login.
Audit email, FTP, database, cron, and application administrators too. A forgotten secondary credential can undermine a protected cPanel login. Ask whether separate roles, jailed access, or IP restrictions are available.
3. Keep the stack current
Patch the content management system, plugins, themes, scripts, PHP version, and any control-panel software your provider manages. Remove abandoned extensions instead of leaving them enabled. Updates do not guarantee safety, but delaying known fixes gives attackers more time to exploit common weaknesses.
Subscribe to security notices, test important updates on staging when possible, and record changes so failures can be diagnosed or rolled back.
4. Enforce HTTPS and check the origin
Use HTTPS for the site, webmail, and administrative pages. Confirm certificates cover the actual hostnames and renew them before expiry. If Cloudflare is in use, Full (strict) mode requires an unexpired origin certificate whose name matches the hostname; visitor-to-proxy encryption is not enough.
A padlock is not proof that the application is trustworthy. Still update the site, protect sessions, limit administration, and investigate certificate warnings.
5. Back up away from the account and test recovery
Use cPanel’s Backup Wizard or a managed system to capture files, databases, mail data, and configuration where appropriate. A copy stored only in the hosting account may disappear with it, so keep another copy in a separate, access-controlled location with strong credentials and MFA.
Test recovery. Restore a representative file and database to a safe location, check the site, and document who can perform recovery. cPanel notes that full-account restoration may require WHM or provider assistance.
6. Watch for compromise, abuse, and provider gaps
Review login notices, file changes, unfamiliar forwarders, new FTP users, and scheduled tasks. A mail spike, redirect, or unknown administrator is a reason to isolate the site and contact the host. Preserve logs for investigation.
Legitimate offshore hosting can serve lawful audiences, but location is not immunity from security duties or law. Choose a provider that responds to credible abuse reports and can contain a compromised account. No host can promise perfect uptime, anonymity, or protection from enforcement.
Ask what the host patches, backs up, monitors, and logs, and what remains your responsibility. Confirm incident-reporting channels and whether support can disable a compromised account quickly. Protect the login, reduce access, patch, encrypt connections, keep independent backups, monitor changes, and choose a responsive operator.
Sources & further reading
Explore the documentation and reporting that informed this article.