Adding 2FA on WHM cPanel servers is a smart way to strengthen login protection and reduce the risk of unauthorised access. With rising cyber threats, relying on just a password is no longer enough. Two-Factor Authentication (2FA), also known as Multi-Factor Authentication (MFA), provides an additional layer of security by requiring a second form of identification—usually a time-sensitive code generated by an app on your mobile device.
Why should you enable 2FA on WHM cPanel servers?
Enabling 2FA on your WHM/cPanel servers means every login will require both your regular password and a unique code generated by an authentication app such as Google Authenticator. This code changes every few seconds, making it incredibly difficult for attackers to gain access even if they’ve obtained your password.
By enabling 2FA on WHM cPanel servers, you’re significantly reducing the risk of unauthorised logins while giving yourself peace of mind that your server and data are more secure.
How to enable 2FA on WHM/cPanel
1. Log in to WHM
Start by logging in to your WHM dashboard using your root or admin credentials.
2. Access the Two-Factor Authentication settings
Then, in the left-hand sidebar, type “Two Factor” into the search bar. After that, click on ‘Two-Factor Authentication’ from the results.

3. Enable the feature
By default, 2FA is turned off. Then, toggle the option to enable Two-Factor Authentication for WHM.

Managing users and enabling 2FA in cPanel accounts
4. Go to the ‘Manage Users’ tab
This section will be empty until 2FA is activated for individual cPanel users. You’ll need to configure 2FA for each user manually.

5. Enable 2FA for cPanel users
Users must first install an authentication app like Google Authenticator on their phone. Then, they can then scan a QR code or enter a key provided during the setup process. Then for help with this step, refer to our guide: How to Enable 2FA in cPanel.

6. Set up 2FA in ‘Manage My Account’
After that, go to the ‘Manage My Account’ tab and follow the instructions to enter the code from your authenticator app.


Final confirmation
7. Enter the code and complete setup
Then input the code from your authentication app and click ‘Set Up Two-Factor Authentication’.

8. Confirmation screen
Finally, once setup is complete, a confirmation message will appear, letting you know that 2FA on WHM cPanel servers is now active for your account.

Protect your server with 2FA on WHM cPanel servers
Implementing 2FA on WHM cPanel servers adds a critical layer of security and makes it much harder for attackers to compromise your hosting environment. It’s quick to set up, easy to manage, and offers powerful protection against brute-force attacks, stolen credentials, and unauthorised logins.
Need assistance?
If you require help setting up 2FA on your WHM or cPanel accounts, our team at Network Dynamics is here to support you. Don’t hesitate to contact our support team for personalised guidance.