Setting Up Two-Factor Authentication (2FA) in cPanel
Two-Factor Authentication, or 2FA, protects your cPanel access with an additional layer of security. In addition to your username and password, you will need a current six-digit security code from an authenticator app when logging in.
This keeps your hosting account significantly better protected, even if your password is accidentally shared, guessed, or compromised in a data breach. Without the second factor, an attacker cannot easily log into your cPanel account.
What You Need for 2FA
To set it up, you need a smartphone or another trusted device with an app that supports time-based one-time passwords. These codes are also referred to as TOTP codes.
Suitable apps include:
- Google Authenticator
- Microsoft Authenticator
- 2FAS Authenticator
- Duo Mobile
- Authy
- A compatible password manager app with TOTP support
Step 1: Open Two-Factor Authentication in cPanel
- Log in to your cPanel account.
- In the Security section, open Two-Factor Authentication.
- Click on Set Up Two-Factor Authentication.
If you do not see this feature, 2FA might not be available for your hosting account or is disabled on the server side. In this case, you can contact CURIAWEB support.
Step 2: Link the Authenticator App to cPanel
cPanel will now display a QR code. Use this QR code to link your cPanel account to your authenticator app.
- Open your authenticator app on your smartphone.
- Select Add new account, usually via a plus symbol.
- Scan the QR code displayed in cPanel.
- If scanning does not work, use the manual setup with the displayed account and key details.
- The app will then display a six-digit security code for your cPanel account.
Step 3: Enter the Security Code and Activate 2FA
After scanning the QR code, you must confirm the setup.
- Enter the current six-digit code from your authenticator app into cPanel.
- Make sure to enter the code before it expires in the app.
- Click on Configure Two-Factor Authentication.
If the code is correct, 2FA will be activated for your cPanel account. Upon your next login, cPanel will require the current security code from your app in addition to your password.
How Does Login Work After Activation?
After activation, the cPanel login process takes place in two steps:
- Enter your cPanel username and password as usual.
- cPanel will then ask for the current six-digit code from your authenticator app.
- Only after entering a valid code will you grant access to the cPanel interface.
The security code is only valid for a short time and is automatically renewed regularly. Always use the currently displayed code.
Setting Up 2FA Anew or Transferring to a New Smartphone
If you want to use a new smartphone, you should reconfigure two-factor authentication in good time while you still have access to your old device.
- Log in to cPanel using your current 2FA code.
- Open Two-Factor Authentication.
- Select Reconfigure, if this option is displayed.
- Scan the new QR code with your authenticator app on the new device.
- Confirm the setup with the new security code.
Disabling 2FA
If you wish to disable 2FA, you should only do so deliberately and, if possible, temporarily. Without 2FA, your cPanel access is once again protected exclusively by your username and password.
- Log in to cPanel.
- Open Two-Factor Authentication.
- Click on Remove Two-Factor Authentication.
- Confirm the deactivation.
Common Problems with 2FA
| Problem | Possible Cause | Solution |
|---|---|---|
| Code is rejected | The code has expired or the device time is out of sync. | Use a new code and enable automatic time synchronization on the smartphone. |
| QR code cannot be scanned | Camera, browser rendering, or display issue. | Use manual setup with the displayed account and key details. |
| Lost smartphone | No more access to the authenticator app. | Contact CURIAWEB support so that access can be restored after an identity check. |
| New smartphone | 2FA was not transferred in time. | As long as you still have access to the old device, reconfigure 2FA in cPanel. |
Security Recommendations for cPanel 2FA
- Enable 2FA for production hosting accounts.
- Additionally, use a strong, unique cPanel password.
- Keep your 2FA device safe.
- Set up a new smartphone before resetting or discarding the old device.
- Do not use shared cPanel access credentials if separate users or service accounts are sufficient.
- Never share 2FA codes with third parties.
- Regularly check your contact information in cPanel so that you remain reachable in the event of security-related events.
What to Do If You Lose Your Smartphone?
If you no longer have access to your authenticator app and can no longer log in to cPanel, 2FA cannot simply be removed by yourself. In this case, please contact CURIAWEB support.
For security reasons, an identity verification check is required for this process. This protects your hosting account from unauthorized persons attempting to have two-factor authentication removed.
No more access to your 2FA app?
Contact CURIAWEB support. We will verify your identity and help you restore access.
Open a Support TicketSummary
Two-Factor Authentication is one of the most important protective measures for your cPanel account. It complements your password with a time-limited security code from an authenticator app and makes unauthorized log-ins significantly more difficult.
Enable 2FA particularly when you manage business websites, email accounts, databases, or customer data via your hosting. At the same time, take care to keep your 2FA device safe and to reconfigure 2FA in good time when you switch smartphones.
Looking to activate 2FA or lost access to your authenticator app?
The CURIAWEB Technical Team is glad to assist you with the secure setup or restoration of your cPanel access.