HomeBlog
Knowledge Base

Secure your HOSTARTS cPanel with Two-Factor Authentication (2FA)

admin · 3 Mar 2026

Secure your HOSTARTS cPanel with Two-Factor Authentication (2FA)

The security of your hosting space is a top priority. Your cPanel account gives access to your files, your databases, your emails and much more. A password alone is no longer enough — which is why we strongly recommend enabling Two-Factor Authentication (2FA).

In this article, we explain step by step how to set up 2FA on your cPanel hosted with HOSTARTS.

What is Two-Factor Authentication?

2FA is an additional layer of security that requires

two proofs of identity

to access your account:

Even if an attacker obtains your password, they will not be able to log in without physical access to your phone. It is a powerful protection against phishing, brute-force attacks and password leaks.

Before you start: choose your 2FA app

To use 2FA on cPanel, you will need an authenticator app on your smartphone. At HOSTARTS, we recommend:

Both apps are

free

and work without an Internet connection once configured.

Step 1: Access the Two-Factor Authentication section

Log in to your cPanel, then scroll down the page to the

Security

section. Click on

Two-Factor Authentication

.

You will land on the setup page. If 2FA is not yet enabled, you will see a yellow warning indicating that two-factor authentication is not configured for your account.

Click the

Set Up Two-Factor Authentication

button to get started.

Step 2: Scan the QR code with your app

Once on the setup page, you will see a

unique QR code

linked to your account.

Here is how to proceed depending on your app:

With Google Authenticator

With Microsoft Authenticator

💡 No QR code reader? Don't worry. cPanel also displays a manual key (Account + Key) that you can enter directly in your app using manual entry mode.

Step 3: Validate the setup

After scanning the QR code, your app generates a

6-digit code

that refreshes every 30 seconds. Enter this code in the field provided in cPanel to confirm that synchronization is correct, then submit.

Result: your account is secured!

Once the setup is complete, the 2FA page now displays a green message confirming that two-factor authentication is active on your account. You also have the option to

Reconfigure

or

Remove

2FA if needed.

From now on, every login to your cPanel will ask for your password

AND

the code generated by your app.

Important tips

Conclusion

Enabling 2FA on your cPanel is one of the simplest and most effective measures to protect your hosting. In just a few minutes, you add an extra shield against unauthorized access.

At HOSTARTS, your security is our priority. Do not hesitate to contact our support team if you need help during the setup.

Stay secure! 🛡️