cPanel

How to Set Up Two-factor Authentication in cPanel

Introduction

Two-Factor Authentication (2FA) is a security feature that will reject access to your cPanel account unless a special code found in your smartphone is entered. Since cPanel contains access to all your files, e-mails, and other data, protecting it with 2FA is a great way to boost the account’s security.

What you’ll need

Before you begin this guide you’ll need the following:

  • Access to cPanel
  • Time-based one-time password (TOTP) application on your phone

Step 1 — Downloading a TOTP app

We recommend using apps like Authy, Google Authenticator or Duo Mobile.

In this guide, we will be using Authy.

Step 2 — Enabling Two-Factor Authentication

Navigate to cPanel-> Two-Factor Authentication section.

2FA location in cPanel

After that, press Set Up Two-Factor Authentication

2FA enable

Now, you will be prompted with 2 options which will be briefly described below. Also, in order to complete them you will have to use the TOTP app.

enabling 2FA option one
enabling 2FA option two

Option 1 is scanning a QR code. If you do not have a QR code reader, you can choose option 2 and enter a generated code found below the QR code.

Authy

Once all the information is entered, the application will generate a 6 digit code that needs to be entered in your cPanel to complete the process.

Authy

Congratulations! Two-Step Authentication is now enabled on your cPanel account.

Success

Step 3 — Logging Into cPanel

From now on, after entering your cPanel credentials, you will be required to enter a special 6 digit code generated by the TOTP app. If the code is not entered, access to cPanel will be denied, which means that your control panel will be protected even in a situation where someone knows your cPanel password.

cPanel login

Conclusion

In this quick guide we have learned how to increase your security by enabling Two-Factor Authentication for your cPanel account.

About the author

Gediminas B.

Gediminas is a passionate content writer and SEO geek at Hostinger. He started his journey at customer support and aims to use his gathered knowledge to create the most epic content the world has ever seen. From WordPress to server management, there's no topic he can't cover! He also likes cats.

Add Comment

Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get Exclusive Content

Join thousands of webmasters who get our free newsletter with tips on how to drive more traffic and revenue to their websites!

Please wait...

Thank you for sign up!

More in cPanel
How to Create Additional Users via cPanel’s User Manager tool

Close