{"id":5031,"date":"2019-02-15T05:32:25","date_gmt":"2019-02-15T05:32:25","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=5031"},"modified":"2024-04-24T08:31:40","modified_gmt":"2024-04-24T07:31:40","slug":"two-factor-authentication-cpanel","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/","title":{"rendered":"How to Enable Two Factor Authentication from cPanel and WHM?"},"content":{"rendered":"<p>Even after setting a strong password to your cPanel, your accounts get hacked at that time Two-factor authentication comes into the picture. The two-factor authentication actively supported by cPanel to add an extra step to access it more securely. The two-factor authentication is also referred to as 2FA, in this user needs to provide two different authentication factors to verify themselves.<\/p>\n<p>This process is better to protect the user&#8217;s credentials. The two-factor authentication method depends on a user providing a password as well as a second factor. This second factor is either a security token or a QR code. In WHM, you can easily set up two-factor authentication and its configuration.<\/p>\n<p><strong>If you want to enable two-factor authentication through cPanel and WHM then follow these simple steps:<\/strong><\/p>\n<p>To scan the QR code, you need to download and install Google Authenticator or Duo Mobile applications from Play Store and App Store. In this video, I have used the Google Authenticator app for the same.<\/p>\n<p><strong>Let&#8217;s start with the step by step process to enable two-factor authentication in WHM:<\/strong><\/p>\n<ul>\n<li>Login to <strong>WHM as root<\/strong>.<\/li>\n<li>On the left hand in the search box search for Two-Factor Authentication or you can also use its short form &#8220;2fa&#8221; for the same.<\/li>\n<li>Enable the Two-Factor Authentication Security Policy by turning the <strong>on and off toggle button. <\/strong><\/li>\n<li>Go to settings for giving a name to the issuer for two-factor authentication. It is set to your server name by <strong>default<\/strong> and click on <strong>Save<\/strong><\/li>\n<li>Now, click on <strong>Manage My Account. <\/strong><\/li>\n<li>If you have not configured the two-factor authentication then in the status field you will see <strong>&#8220;Not Configured&#8221;. <\/strong><\/li>\n<li>Click on <strong>Set Up Two-Factor Authentication<\/strong>.<\/li>\n<li>In step one, scan the generated QR code with the help of app that you have downloaded.<\/li>\n<li>In the<strong> Security Code<\/strong> section of step 2 enter the six-digit security code generated in your mobile app. A new code is generated after every 30 seconds and you need to use that code to complete the process.<\/li>\n<li>After that click on <strong>Configure Two-Factor Authentication<\/strong>.<\/li>\n<li>Now, logout again try to login to <strong>WHM as root <\/strong>and you will be asked for security code. Enter the six-digit security code generated in your mobile app and click on<\/li>\n<li>After this, you will be logged in to the <strong>WHM<\/strong><\/li>\n<\/ul>\n<p><strong>To enable two-factor authentication in cPanel follow these steps:<\/strong><\/p>\n<ul>\n<li>Login to<\/li>\n<li>Navigate to <strong>the Security<\/strong> section and select <strong>Two-Factor Authentication<\/strong>.<\/li>\n<li>If two-factor authentication is not configured previously then click on <strong>Set Up Two-Factor Authentication<\/strong><\/li>\n<li>In step one, scan the generated QR code with the help of app that you have downloaded.<\/li>\n<li>In the<strong> Security Code<\/strong> section of step 2 enter the six-digit security code generated in your app.<\/li>\n<li>After that click on <strong>Configure Two-Factor Authentication<\/strong>.<\/li>\n<\/ul>\n<p>So in this way you can enable two-factor authentication from cPanel and WHM.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Even after setting a strong password to your cPanel, your accounts get hacked at that time Two-factor authentication comes into the picture. The two-factor authentication actively supported by cPanel to add an extra step to access it more securely. The two-factor authentication is also referred to as 2FA, in this user needs to provide two [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":5042,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[586,585,587],"class_list":["post-5031","post","type-post","status-publish","format-standard","has-post-thumbnail","placeholder-for-hentry","category-domain-name-dns-issues","tag-cpanel-account-security","tag-cpanel-two-factor-authentication","tag-securing-cpanel-account"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Enable the Two Factor Authentication (2FA) for Your cPanel Account<\/title>\n<meta name=\"description\" content=\"This article reveals step by step ways to enable the two factor authentication to protect your cPanel account from getting misued.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Enable the Two Factor Authentication (2FA) for Your cPanel Account\" \/>\n<meta property=\"og:description\" content=\"This article reveals step by step ways to enable the two factor authentication to protect your cPanel account from getting misued.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-15T05:32:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-24T07:31:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/02\/Steps-to-Enable-Two-Factor-Authentication-2FA-for-cPanel-min.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"445\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Pallavi Godse\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pallavi Godse\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/\",\"name\":\"Enable the Two Factor Authentication (2FA) for Your cPanel Account\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/02\/Steps-to-Enable-Two-Factor-Authentication-2FA-for-cPanel-min.png\",\"datePublished\":\"2019-02-15T05:32:25+00:00\",\"dateModified\":\"2024-04-24T07:31:40+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\"},\"description\":\"This article reveals step by step ways to enable the two factor authentication to protect your cPanel account from getting misued.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/02\/Steps-to-Enable-Two-Factor-Authentication-2FA-for-cPanel-min.png\",\"contentUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/02\/Steps-to-Enable-Two-Factor-Authentication-2FA-for-cPanel-min.png\",\"width\":800,\"height\":445},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Enable Two Factor Authentication from cPanel and WHM?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\",\"name\":\"Pallavi Godse\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g\",\"caption\":\"Pallavi Godse\"},\"description\":\"Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/pallavi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Enable the Two Factor Authentication (2FA) for Your cPanel Account","description":"This article reveals step by step ways to enable the two factor authentication to protect your cPanel account from getting misued.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/","og_locale":"en_GB","og_type":"article","og_title":"Enable the Two Factor Authentication (2FA) for Your cPanel Account","og_description":"This article reveals step by step ways to enable the two factor authentication to protect your cPanel account from getting misued.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2019-02-15T05:32:25+00:00","article_modified_time":"2024-04-24T07:31:40+00:00","og_image":[{"width":800,"height":445,"url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/02\/Steps-to-Enable-Two-Factor-Authentication-2FA-for-cPanel-min.png","type":"image\/png"}],"author":"Pallavi Godse","twitter_misc":{"Written by":"Pallavi Godse","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/","name":"Enable the Two Factor Authentication (2FA) for Your cPanel Account","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/02\/Steps-to-Enable-Two-Factor-Authentication-2FA-for-cPanel-min.png","datePublished":"2019-02-15T05:32:25+00:00","dateModified":"2024-04-24T07:31:40+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945"},"description":"This article reveals step by step ways to enable the two factor authentication to protect your cPanel account from getting misued.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/#primaryimage","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/02\/Steps-to-Enable-Two-Factor-Authentication-2FA-for-cPanel-min.png","contentUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/02\/Steps-to-Enable-Two-Factor-Authentication-2FA-for-cPanel-min.png","width":800,"height":445},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/two-factor-authentication-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Enable Two Factor Authentication from cPanel and WHM?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945","name":"Pallavi Godse","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g","caption":"Pallavi Godse"},"description":"Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/pallavi\/"}]}},"views":764,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/5031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=5031"}],"version-history":[{"count":5,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/5031\/revisions"}],"predecessor-version":[{"id":15688,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/5031\/revisions\/15688"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media\/5042"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=5031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=5031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=5031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}