{"id":2190,"date":"2025-07-01T10:22:40","date_gmt":"2025-07-01T10:22:40","guid":{"rendered":"https:\/\/hostrago.com\/knowledge-base\/?p=2190"},"modified":"2025-07-01T10:38:10","modified_gmt":"2025-07-01T10:38:10","slug":"change-primary-domain-in-whm","status":"publish","type":"post","link":"https:\/\/hostrago.com\/knowledge-base\/change-primary-domain-in-whm\/","title":{"rendered":"How to Change Primary Domain in WHM? (Complete Guide)"},"content":{"rendered":"\n<p>If you\u2019re managing multiple domains under a single hosting account, knowing how to <strong>change Primary Domain<\/strong> in WHM becomes essential. The <strong>Primary Domain<\/strong> is the main identity of the <a href=\"https:\/\/cpanel.net\/\" target=\"_blank\" rel=\"noopener\">cPanel <\/a>account, used for FTP credentials, file paths, and email routing. Sometimes, due to business rebranding, ownership changes, or account restructuring, you may want to replace the existing Primary Domain with a new one \u2014 without affecting the rest of your data.<\/p>\n\n\n\n<p>At HostraGo, we understand that tasks like changing the Primary Domain can feel technical. But don\u2019t worry \u2014 this guide will show you how to perform it safely through <strong>WHM (Web Host Manager)<\/strong> using best practices. By the end, you&#8217;ll have a fully updated account without losing emails, subdomains, or databases.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">When Should You Change a Primary Domain?<\/h2>\n\n\n\n<p>There are multiple reasons why a user might want to change their Primary Domain:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Business rebranding or launching a new identity.<\/li>\n\n\n\n<li>Migrating website content to a new domain name.<\/li>\n\n\n\n<li>The original domain is no longer in use or expired.<\/li>\n\n\n\n<li>Optimizing SEO by switching to a better domain name.<\/li>\n<\/ul>\n\n\n\n<p>However, it&#8217;s important to understand the implications of changing the Primary Domain. For example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The file path remains the same (public_html).<\/li>\n\n\n\n<li>Old domain emails may stop working unless redirected.<\/li>\n\n\n\n<li>Some internal application links may need to be updated.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How to Change Primary Domain in WHM?<\/h2>\n\n\n\n<p>Let\u2019s walk you through the secure and proper steps to <strong>change Primary Domain in WHM<\/strong>:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">S<strong>tep 1: Log in to WHM<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open your WHM panel: <code>https:\/\/yourserverip:2087<\/code><\/li>\n\n\n\n<li>Enter your <strong>root<\/strong> or <strong>reseller credentials<\/strong>.<\/li>\n\n\n\n<li>Once logged in, you\u2019ll land on the WHM dashboard.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2: Navigate to &#8216;List Accounts&#8217;<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the search bar at the left panel, type <strong>List Accounts<\/strong>.<\/li>\n\n\n\n<li>Click on the result.<\/li>\n\n\n\n<li>A list of cPanel accounts will appear.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"332\" src=\"https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/Navigate-to-List-Accounts-1024x332.png\" loading=\"lazy\" alt=\"Navigate to 'List Accounts'\" class=\"wp-image-2193\" srcset=\"https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/Navigate-to-List-Accounts-1024x332.png 1024w, https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/Navigate-to-List-Accounts-300x97.png 300w, https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/Navigate-to-List-Accounts-768x249.png 768w, https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/Navigate-to-List-Accounts-1536x499.png 1536w, https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/Navigate-to-List-Accounts.png 1904w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 3: Locate the Account<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Find the account you want to modify (associated with the old Primary Domain).<\/li>\n\n\n\n<li>On the right side of the row, click on the <strong>&#8220;+&#8221; icon<\/strong> to expand details.<\/li>\n\n\n\n<li>Click on the <strong>Modify Account<\/strong> button.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"494\" src=\"https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/Locate-the-Account-1024x494.png\" loading=\"lazy\" alt=\"Locate the Account\" class=\"wp-image-2192\" srcset=\"https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/Locate-the-Account-1024x494.png 1024w, https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/Locate-the-Account-300x145.png 300w, https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/Locate-the-Account-768x370.png 768w, https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/Locate-the-Account-1536x741.png 1536w, https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/Locate-the-Account.png 1615w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 4: Update the Primary Domain<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the Modify Account section, find the <strong>Primary Domain<\/strong> field.<\/li>\n\n\n\n<li>Enter the <strong>new domain name<\/strong>.<\/li>\n\n\n\n<li>Ensure other details such as username, package, and IP remain unchanged (unless necessary).<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"646\" height=\"576\" src=\"https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/Update-the-Primary-Domain.png\" loading=\"lazy\" alt=\"Update the Primary Domain\" class=\"wp-image-2191\" srcset=\"https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/Update-the-Primary-Domain.png 646w, https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/07\/Update-the-Primary-Domain-300x267.png 300w\" sizes=\"auto, (max-width: 646px) 100vw, 646px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 5: Save Changes<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Scroll to the bottom and click on the <strong>Save<\/strong> or <strong>Update<\/strong> button.<\/li>\n\n\n\n<li>WHM will now process your changes. This may take a few seconds.<\/li>\n<\/ol>\n\n\n\n<p><strong>Success!<\/strong> You\u2019ve now changed the Primary Domain.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Important Considerations Before You Proceed<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Backup First<\/strong>: Always take a full backup of the website files and databases before making any changes.<\/li>\n\n\n\n<li><strong>Email Configuration<\/strong>: Emails tied to the old domain may stop working. Set up new email accounts or redirects.<\/li>\n\n\n\n<li><strong>SEO Impact<\/strong>: If the old domain had traffic, ensure proper redirection to preserve SEO rankings.<\/li>\n\n\n\n<li><strong>SSL Certificates<\/strong>: Update your SSL for the new domain through AutoSSL or a third-party certificate provider.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Need Help?<\/h2>\n\n\n\n<p>Changing the Primary Domain is a sensitive action. If you face any issues or want an expert to handle it, <a href=\"https:\/\/hostrago.com\/contact-us\">HostraGo Support<\/a> is available 24\/7. Our skilled team will ensure a seamless domain transition with zero downtime.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Final Thoughts<\/h2>\n\n\n\n<p>Change Primary Domain in WHM is a straightforward process when done correctly. By following the above steps and precautions, you can efficiently switch domains while keeping your website and configurations intact. Remember to maintain DNS integrity, update CMS settings, and secure your new domain with SSL.<\/p>\n\n\n\n<p>If you&#8217;re hosting with <strong>HostraGo<\/strong>, you get access to intuitive tools and expert support to handle changes like this with confidence. Not hosting with us yet? <a href=\"https:\/\/hostrago.com\/\">Check out our web hosting plans<\/a> and get started today!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you\u2019re managing multiple domains under a single hosting account, knowing how to change Primary Domain in WHM becomes essential. The Primary Domain is the&#8230;<\/p>\n","protected":false},"author":1,"featured_media":2194,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[478,179,477,126,176,407,200],"class_list":["post-2190","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-whm","tag-change-primary-domain","tag-cpanel","tag-domain-management","tag-hostrago","tag-web-hosting","tag-web-server","tag-whm"],"menu_order":0,"_links":{"self":[{"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/2190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=2190"}],"version-history":[{"count":1,"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/2190\/revisions"}],"predecessor-version":[{"id":2195,"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/2190\/revisions\/2195"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/media\/2194"}],"wp:attachment":[{"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=2190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=2190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=2190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}