Security

Change your cPanel password and keep the account secure

Change the cPanel account password safely, understand what it affects (FTP, SSH, MySQL), and follow a short security checklist for your hosting account.

BeginnercPanel hosting2 min read

Your cPanel password protects everything on your hosting account: files, databases, email and DNS. Change it if you shared it, if someone who knew it left your team, or if you suspect a breach. This guide also lists the other settings that keep the account safe.

Before you start

  • Generate a new password with a password manager: at least 16 characters, unique to this account.
  • Note any tools that log in with the cPanel username and password, such as an FTP client using the main account, a backup service or a desktop database tool. You must update them afterwards.

Change the password in cPanel

  1. Log in to cPanel and open the user menu (top right) → Password & Security, or cPanel → Preferences → Password & Security.
  2. Enter the Old Password.
  3. Enter the New Password twice, or click Password Generator, tick that you copied it and click Use Password.
  4. Leave Enable Digest Authentication off unless you use Web Disk on old Windows versions.
  5. Click Change your password now! You will be logged out and asked to log in again.

Note: If you forgot the current password, open cPanel with one click from Services in the MdmHost dashboard. Password changes for hosting accounts can also be made from the service page in the dashboard where available.

What the cPanel password is used for

LoginUses the cPanel password?
cPanel at port 2083Yes
Main FTP account (cPanel username)Yes
SSH and SFTP with passwordYes (keys are better)
Webmail for the cPanel user's default mailboxYes
Email accounts like you@domain.comNo, each has its own password
Extra FTP accounts and MySQL usersNo, each has its own password
WordPress or shop adminsNo

Security checklist for your account

  • Turn on two-factor authentication.
  • Use separate FTP accounts for developers, limited to one folder, and delete them afterwards.
  • Give team members their own logins in Preferences → User Manager with only the services they need (email, FTP, Web Disk).
  • Set a contact email outside this account in Contact Information and enable login and password-change notifications.
  • Keep CMS, plugins and themes updated. Enable automatic updates in Softaculous if you installed apps there.
  • Use SSH keys instead of passwords for shell access.
  • Review SSL/TLS Status so every domain uses HTTPS.

If you think the account was compromised

  1. Change the cPanel password and all CMS admin passwords.
  2. Check Email → Forwarders and Cron Jobs for entries you did not create.
  3. Look for recently changed files (see Terminal commands) and restore clean files from JetBackup.
  4. Open a support ticket; we can scan the account and review logs.

Next steps

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.