Skip to main content

How to Enable Two-Factor Authentication for cPanel

Enable Two-Factor Authentication (2FA) to add an extra layer of security to your cPanel account. This ensures that only you can access your account, even if your password is compromised.

Enable Two-Factor Authentication (2FA) to add an extra layer of security to your cPanel account. This ensures that only you can access your account, even if your password is compromised.

Before you begin

You will need:

  • A cPanel account

  • A mobile device capable of running an authenticator app (such as Google Authenticator, Authy, or Microsoft Authenticator)

Enable Two-Factor Authentication

  1. Log in to your cPanel account.

  2. Locate the Security section and select Two-Factor Authentication.

  3. Select the account you wish to secure.

  4. Choose an authenticator app and click Next.

  5. Scan the QR code provided using your mobile device's authenticator app.

  6. Enter the 6-digit verification code from your app into the field provided.

  7. Select Verify.

  8. Create a backup code and save it in a secure location.

Warning: If you lose your mobile device and do not have your backup codes, you will be locked out of your cPanel account. You will need to contact Hostek support to regain access.

Confirm the result

  • You will see a success message confirming that Two-Factor Authentication is enabled.

  • The next time you log in to cPanel, you will be prompted to enter the 6-digit code from your authenticator app.

How to remove Two-Factor Authentication

If you need to disable 2FA, you must have your backup codes or access to the authenticator app to complete the verification process.

  1. Log in to cPanel.

  2. Navigate to Security > Two-Factor Authentication.

  3. Select the account and click Disable.

  4. Enter the verification code from your app or use a backup code.

  5. Select Verify.

Limitations

This feature requires a mobile device with an authenticator app to generate the necessary codes. If you do not use an authenticator app, you will not be prompted for a 2FA code during login.

Did this answer your question?