{"id":16863,"date":"2025-04-04T20:02:15","date_gmt":"2025-04-04T18:02:15","guid":{"rendered":"https:\/\/tremhost.com\/blog\/?p=16863"},"modified":"2025-04-04T20:02:15","modified_gmt":"2025-04-04T18:02:15","slug":"how-to-activate-a-cpanel-license","status":"publish","type":"post","link":"https:\/\/tremhost.com\/blog\/how-to-activate-a-cpanel-license\/","title":{"rendered":"How to activate a cPanel license"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><h1>How to Activate a cPanel License<\/h1>\n<p>Activating your cPanel license is essential to unlock all the features of WHM and cPanel on your server. Here\u2019s a step-by-step guide to help you activate your cPanel license:<\/p>\n<hr \/>\n<h2>1. Verify Your License Details<\/h2>\n<ul>\n<li><strong>Check Your License Information:<\/strong><br \/>\nBefore activation, ensure that you have a valid cPanel license. You can verify this by logging into your license provider\u2019s portal or checking the cPanel license information page.<\/li>\n<li><strong>Confirm IP Association:<\/strong><br \/>\nYour license must be associated with your server\u2019s IP address. If your server\u2019s IP has changed, update the details with your license provider.<\/li>\n<\/ul>\n<hr \/>\n<h2>2. Log in to Your Server via SSH<\/h2>\n<ul>\n<li><strong>Access as Root:<\/strong><br \/>\nOpen your terminal or SSH client and connect to your server using the root credentials:<\/p>\n<pre><code class=\"language-bash\">ssh root@your-server-ip\r\n<\/code><\/pre>\n<p>Replace <code>your-server-ip<\/code> with your server\u2019s actual IP address.<\/li>\n<\/ul>\n<hr \/>\n<h2>3. Run the cPanel License Activation Command<\/h2>\n<ul>\n<li><strong>Force a License Update:<\/strong><br \/>\nOnce logged in, execute the following command to force cPanel to check for and activate your license:<\/p>\n<pre><code class=\"language-bash\">\/usr\/local\/cpanel\/cpkeyclt\r\n<\/code><\/pre>\n<p>This command contacts the cPanel license servers and updates your license status.<\/li>\n<li><strong>Wait for Confirmation:<\/strong><br \/>\nThe process may take a minute or two. After the command completes, check your WHM dashboard under <strong>Server Information<\/strong> to confirm that the license status is active.<\/li>\n<\/ul>\n<hr \/>\n<h2>4. Troubleshoot if Necessary<\/h2>\n<ul>\n<li><strong>Review Logs:<\/strong><br \/>\nIf the activation fails, review the cPanel logs located in <code>\/usr\/local\/cpanel\/logs\/<\/code> for any error messages that might indicate connectivity or configuration issues.<\/li>\n<li><strong>Check Firewall Settings:<\/strong><br \/>\nEnsure that your server\u2019s firewall allows outbound connections to cPanel\u2019s licensing servers.<\/li>\n<li><strong>Verify FQDN and IP:<\/strong><br \/>\nEnsure that your server\u2019s Fully Qualified Domain Name (FQDN) and IP address are correctly configured. You can set your hostname with:<\/p>\n<pre><code class=\"language-bash\">hostnamectl set-hostname server.yourdomain.com\r\n<\/code><\/pre>\n<p>Replace <code>server.yourdomain.com<\/code> with your actual FQDN.<\/li>\n<\/ul>\n<hr \/>\n<h2>5. Contact Support if Needed<\/h2>\n<ul>\n<li><strong>Gather Details:<\/strong><br \/>\nIf you continue to experience issues, note down your server\u2019s IP, FQDN, and any error messages.<\/li>\n<li><strong>Reach Out:<\/strong><br \/>\nContact your license provider or hosting provider\u2019s support for further assistance.<\/li>\n<\/ul>\n<hr \/>\n<h2>Final Thoughts<\/h2>\n<p>Activating your cPanel license is a straightforward process that usually involves running the <code>\/usr\/local\/cpanel\/cpkeyclt<\/code> command after verifying your license details and ensuring proper server configuration. With your license activated, you can fully access and manage your cPanel\/WHM features, ensuring your hosting environment is up and running securely.<\/p>\n<p>Ready to activate your cPanel license? Log in to your server, run the activation command, and enjoy full access to your cPanel\/WHM tools!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Activate a cPanel License Activating your cPanel license is essential to unlock all the features of WHM and cPanel on your server. Here\u2019s a step-by-step guide to help you activate your cPanel license: 1. Verify Your License Details Check Your License Information: Before activation, ensure that you have a valid cPanel license. You [&hellip;]<\/p>\n","protected":false},"author":1772,"featured_media":16864,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"tdm_status":"","tdm_grid_status":"","footnotes":""},"categories":[163],"tags":[],"class_list":{"0":"post-16863","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-hosting"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/16863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/users\/1772"}],"replies":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/comments?post=16863"}],"version-history":[{"count":1,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/16863\/revisions"}],"predecessor-version":[{"id":16865,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/16863\/revisions\/16865"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/media\/16864"}],"wp:attachment":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/media?parent=16863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/categories?post=16863"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/tags?post=16863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}