Articles on: Getting Started

How To Enable 2FA - Two-Factor Authentication in WHM

You can no longer depend on a username and password to keep you safe. With all the data breaches, malware, and phishing scams making rounds across the Internet you just have to assume someone is going to get your password (if they don't already have it).


Because of this, I would highly recommend enabling two-factor authentication on all your important logins including cPanel, Web Host Manager, and NameHero client portal.


What Is Two-Factor Authentication


Two-factor authentication adds an extra layer of security across your accounts requiring a unique pin code from your smartphone device after you successfully enter your username and password.


For example, if you have it enabled on NameHero, you'll see this screen after you enter your username and password:



You would then open up the Google Authenticator app on your phone and enter the unique six-digit code that is shown.


This code expires every 30 seconds and re-generates.


You'll notice above, you're given a back-up code when you set it up that you can use incase your device is lost or stolen.


You'll want to write this code down and store it somewhere safe (don't store it on your computer).


How To Enable Two-Factor In cPanel


To enable on your cPanel account, you'll simply login to cPanel -> Two-Factor Authentication:



You'll then want to click the link to Set Up Two-Factor Authentication:



For the next step, you'll need to have one of the supported smartphone apps:



Personally, I recommend Google Authenticator as I've used it for many years with great success (if possible).


Next, you'll need to scan the QR code or enter the information manually:



Once setup on your phone, you'll need to verify the six-digit security code generated by the app:



That's it! Next time you login to cPanel using your username and password it'll ask for your two-factor security pin.


How To Enable Two-Factor In Web Host Manager


For our Resellers and VPS hosting customers, you can also enable inside of Web Host Manager -> Two-Factor Authentication:



Next, click on Manage My Account -> Set Up Two-Factor Authentication:




How To Enable Two-Factor In NameHero Portal!


We have created a separate help doc. Find it here!



How To Enable Two-Factor In WebMail


We have created a separate help doc. Find it here!

Updated on: 25/06/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!