How to Configure and Use Two-Factor Authentication

Configure 2FA

Configuring 2FA is simple via the cPanel interface. Follow the steps below to learn how to setup two-factor authentication.

    1. Log into cPanel as the user you want to configure 2FA for.

cPanel login screen displayed with user name and password fields and Login button highlighted.

    1. In the cPanel search bar, type “two“.

cPanel Search bar with two text entered and highlighted.

    1. Click on the Two-Factor Authentication icon.

cPanel Security section with Two-Factor Authentication icon highlighted.

    1. Click the Set Up Two-Factor Authentication button to proceed.

cPanel Two-Factor Authentication with Set Up Two-Factor Authentication button highlighted.

  1. Click one of the buttons below to expand and display instructions to use the QR (Quick Response) Code or Manual Entry to configure 2FA.

Once successful, you will see the following message:

cPanel Set Up Two-Factor Authentication success message displayed.

Now that you have configured this cPanel account to use 2FA, the cPanel user will be prompted to enter the security code (generated via the smartphone app) to log into cPanel.

Use 2FA

Once you have configured a cPanel user for 2FA, after entering the correct username and password combination to log into cPanel, a new page will load which prompts the user to enter the new security code generated from the smartphone app. (used to set up 2FA). Follow the instructions below to log into cPanel, when using 2FA.

    1. On the cPanel login page, enter the user name and password combination. Then, click the Login button.

cPanel login screen displayed with user name and password fields and Login button highlighted.

    1. Open the smartphone app to generate a new security code.

iOS Google Authenticator App Example Screenshot Security Code highlighted.

    1. Enter the security code in the field labeled: “Enter the security code for {your user}”. Then, click the Continue button.

cPanel 2FA Security Code field and Continue button highlighted

Remove 2FA

If for some reason you are unable to log into cPanel after enabling 2FA, you can log into cPanel through your Account Management Panel (AMP). Once logged in, you can remove 2FA for the cPanel account. The following instructions will guide you through this process.

    1. Log into your cPanel, via your Account Management Panel (AMP).

Account Management Panel (AMP) cPanel login icon highlighted.

    1. In the cPanel search bar, type “two“.

cPanel Search bar with two text entered and highlighted.

    1. lick on the Two-Factor Authentication icon.

cPanel Security section with Two-Factor Authentication icon highlighted.

    1. Click on the Remove Two-Factor Authentication button.

cPanel Two-Factor Authentication Remove Two-Factor Authentication button highlighted.

    1. Now, click on the Remove button.

cPanel Two-Factor Authentication Remove button highlighted.

Once 2FA has been removed, you will receive the following message:

cPanel Remove Two-Factor Authentication Success message highlighted.

Now that 2FA has been removed for the cPanel user, that user will no longer be prompted for a security code and can log into cPanel using simply the username and password.

Was this article helpful?

Related Articles