How to Enable Two-Factor Authentication (2FA) for cPanel
Securing your cPanel account is crucial to protect your website and data from unauthorized access. Two-Factor Authentication (2FA) adds an extra layer of security by requiring a unique code from your smartphone in addition to your password. This guide will walk you through the steps to enable 2FA in cPanel.
At Vivint Host, we strongly recommend enabling two-factor authentication (2FA) for all critical accounts, including cPanel, Web Host Manager (WHM), and your Vivint Host client portal. This extra layer of security ensures that even if your password is compromised, your account remains protected.
What Is Two-Factor Authentication (2FA)?
Two-factor authentication adds a second verification step when logging in. After entering your username and password, you’ll need to provide a unique, time-sensitive code from your smartphone.
For example, if 2FA is enabled on your Vivint Host account, you’ll see this prompt after logging in:

You’ll then open an authenticator app (like Google Authenticator or Duo Mobile) and enter the six-digit code displayed. This code refreshes every 30 seconds, making it nearly impossible for hackers to reuse it.
During setup, you’ll also receive a backup code. Store this securely (written down, not saved digitally)-it’s your lifeline if you lose access to your phone.
How to Enable 2FA in cPanel
Step 1: Log in to cPanel
Navigate to cPanel > Two-Factor Authentication:

Step 2: Set Up 2FA
Click "Set Up Two-Factor Authentication" to begin.

Step 3: Install an Authenticator App
You’ll need one of these supported apps:
- Google Authenticator (Android, iOS, Blackberry)
- Duo Mobile (Android, iOS)
- Microsoft Authenticator (Windows Phone)
We recommend Google Authenticator for reliability.
Step 4: Scan the QR Code or Enter Manually
Open your authenticator app and either:
- Scan the QR code displayed in cPanel, or
Manually enter the provided key.

Step 5: Verify the Code
Enter the six-digit code generated by the app to confirm setup.
That’s it! From now on, logging into cPanel will require both your password and a 2FA code.

How to Enable 2FA in Web Host Manager (WHM)
For Vivint Host resellers and VPS users, securing WHM is just as crucial.
Step 1: Log in to WHM
Go to WHM > Two-Factor Authentication.

Step 2: Manage Your Account
Click "Manage My Account" > "Set Up Two-Factor Authentication".

Step 3: Follow the Same Steps as cPanel
Repeat the process:
- Install an authenticator app.
- Scan the QR code or enter the key manually.
- Verify the six-digit code.
How to Enable 2FA in Your Vivint Host Client Portal
Your Vivint Host account holds sensitive data-domains, hosting plans, and billing info. Here’s how to secure it:
Step 1: Log in to Vivint Host
Go to Client Area > Security Settings.
Step 2: Enable 2FA
Click "Enable Two-Factor Authentication".
Step 3: Scan or Enter the Code
Use your authenticator app to scan the QR code or input the manual key.
Step 4: Confirm with the 6-Digit Code
Enter the code from your app to finalize setup.
Step 5: Save Your Backup Code
You’ll receive a one-time backup code. Write it down and store it securely-never save it digitally.
Now, every Vivint Host login will require your 2FA code for maximum protection.
Final Thoughts
Enabling two-factor authentication is a simple yet powerful way to safeguard your accounts. At Vivint Host, we prioritize your security-follow these steps to lock down cPanel, WHM, and your client portal today.
Need help? Our 24/7 expert support team is always here to assist.
