How do I enable two-factor authentication (2FA) in cPanel and the client area?
Enable 2FA in cPanel and the Dongee client area with an authenticator app: scan the QR, enter the 6-digit code, avoid common errors and know what to do if you lose your phone.
At Dongee you can enable two-factor authentication (2FA) in both cPanel and the client area: in each one you scan a QR code with an authenticator app on your phone, and from then on, besides the password, you'll be asked for a 6-digit code that changes every 30 seconds. They are two different logins, so it's worth enabling 2FA on both: the client area controls payments, services and domains, and cPanel controls your files, databases and email.
Before you start: pick an authenticator app
You need an app that generates temporary codes (TOTP), for example Google Authenticator, Microsoft Authenticator, Authy or the password manager you already use if it has that feature. Install it on your phone before you continue. If you still keep your passwords on paper or in the browser, also review what a password manager is.
How to enable 2FA in cPanel
- Log in to your cPanel with your username and password.
- In the Security section, open Two-Factor Authentication. If you don't see it, use the cPanel search box.
- Click the button to set up two-factor authentication. cPanel shows a QR code and, below it, a text key in case you can't scan.
- Open the authenticator app on your phone, choose to add an account and scan the QR. An entry with your cPanel user will appear.
- Type in cPanel the 6-digit code shown by the app and confirm.
- Log out and log back in to check that it asks for the code.
Important: cPanel 2FA protects access to cPanel. Email accounts (webmail, Outlook, the phone) still sign in with their own password, so give them long, unique passwords.
How to enable 2FA in the Dongee client area
- Sign in to your Dongee client area.
- Go to your account's security options and look for two-factor authentication.
- Turn it on, scan the QR code with the same authenticator app and type the 6-digit code to confirm.
- If the system shows you a backup code, store it somewhere other than your phone (in your password manager or printed in a safe place).
- Log out and sign in again to confirm that it works.
If you can't find the option or have questions, Dongee support is available 24/7 in your language (the platform translates on the fly) by chat and WhatsApp.
cPanel vs client area: what each one protects
| Access | What it controls | Risk if someone gets in |
|---|---|---|
| Client area | Contracted services, invoices, payments, domains and account data | Changes to your services or domains, access to billing data |
| cPanel | Website files, databases, email accounts, backups | Changing or deleting your site, creating mailboxes, reading configurations |
Enabling it in one does not enable it in the other: complete both processes.
Common mistakes when using 2FA
- "Invalid code" even though you typed it correctly. The codes depend on the time. Check that your phone has automatic date and time turned on.
- You scanned the QR twice. If you have two similar entries in the app, the valid one is the latest; delete the old one so you don't mix them up.
- You changed phones. Before wiping the old phone, move the accounts to the app on the new one (many apps let you export them) or turn 2FA off and back on from the new phone.
- Several people use the same account. The code arrives on a single phone. In cPanel it's better for each person to have their own access when possible, instead of sharing one.
What else protects your hosting (and what 2FA does not do)
2FA stops someone from getting in with a stolen password, but it doesn't protect a site with a vulnerable plugin or a weak email password. On Dongee shared hosting (Dongee Startup from 10 USD/month, Quantum 19 USD/month) each account runs in an isolated container, with Imunify360 included and daily backups with assisted restore. Even so, your site is your responsibility: keep WordPress and its plugins up to date (review these WordPress security measures) and don't reuse passwords.
Frequently asked questions
Can I use SMS instead of an app?
The cPanel method works with authenticator apps that read the QR code (TOTP), not with SMS. Use one of the apps mentioned above.
What do I do if I lost my phone and can't sign in?
If you saved a backup code, use it. If not, contact Dongee support, available 24/7: explain what happened and the team will tell you how to prove you're the account holder to recover access.
Does 2FA make signing in slower?
It only adds a few seconds: you open the app and copy the code. In return, a leaked password is no longer enough to get in.
Do I have to enable it on every domain in my cPanel?
No. cPanel 2FA is per cPanel user, not per domain: you enable it once for that login.
Can I use the same app for other services?
Yes. An authenticator app stores codes for many accounts at once: your email, social networks, banking or GitHub.
Enabling two-factor authentication in cPanel and in the client area takes less than five minutes and closes the most common door for attacks: the stolen password. If you want a better grasp of your panel, start with what cPanel is.
Comenta lo que quieras
Unete a la charla
Solo ingresa tu email