Changing the primary domain on a cPanel account in WHM should be treated as a planned account change, not a quick switch. Before you update the domain, it helps to confirm that the new domain is registered, DNS access is available, website files are backed up, and any email or redirect impact has been considered.<\/p>\r\n\r\n\r\n\r\n
This guide explains how to change the primary domain on a cPanel account in WHM with less risk of disruption. It covers the preparation work, the account change itself, and the checks you should complete afterwards to confirm that the website, DNS, and email services still behave as expected.<\/p>\r\n\r\n\r\n\r\n
Preparing to Change Your Primary Domain<\/h2>\r\n\r\n\r\n
Before changing the primary domain, review the account dependencies tied to the current domain. Back up website files and databases, confirm that the new domain is active and under your control, and make a note of any email accounts, redirects, DNS records, or application settings that may need to be updated after the switch.<\/p> \r\n\r\n\r\n
- \r\n
- Backup Your Data<\/em>: Before you start, make a full backup of your cPanel account<\/strong>. This includes your site files, databases, and emails. Having a backup means you can restore your account if something goes wrong.<\/li>\r\n\r\n\r\n\r\n
- Register Your New Domain<\/em>: Make sure your new domain is registered with a trusted registrar. Check that it's set up to point to your hosting's nameservers. This reduces downtime during the switch.<\/li>\r\n\r\n\r\n\r\n
- Notify Stakeholders<\/em>: Tell your team and customers about the change beforehand. Clear communication helps avoid confusion or problems.<\/li>\r\n\r\n\r\n\r\n
- SEO Considerations<\/em>: A new domain name might affect your site's ranking on search engines. To limit this, use a 301 redirect from your old domain to the new one. This maintains your site's SEO value based on Google's advice.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n
Other key points include:<\/p>\r\n\r\n\r\n\r\n
- \r\n
- Email Accounts<\/em>: Emails linked to your old domain will move to the new one. Be sure to check these accounts after the change.<\/li>\r\n\r\n\r\n\r\n
- Subdomains<\/em>: Any subdomains will also be updated. It's vital to reconfigure them as needed after the change.<\/li>\r\n\r\n\r\n\r\n
- SSL Certificates<\/em>: Secure your new domain with SSL certificates. Also, enabling HTTPS for safe communication is advised. Make sure you have the certificates for these updates.<\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n
cPanel always requires a primary domain, even if not in use. By following these steps, you get an email confirmation of the change. Such careful planning ensures a smooth domain change and prevents problems.<\/p>\r\n\r\n\r\n\r\n
How to Change The Primary Domain On A Cpanel Account<\/h2>\r\n\r\n\r\n
To change the primary domain in WHM, access the account-management area with the correct administrative permissions, locate the cPanel account you want to update, and enter the new primary domain carefully. After saving the change, review DNS, website behaviour, SSL coverage, and email-related settings so the new domain resolves correctly and the account functions as expected.<\/p> \r\n\r\n\r\n
- \r\n
- Accessing WHM<\/em>: Sign into WHM<\/strong> with your root login. Head over to the 'Account Functions' area to find domain management<\/strong> options. This is key for any changes you want to make.<\/li>\r\n\r\n\r\n\r\n
- Modify Account Settings<\/em>: Find 'Modify an Account' in WHM<\/strong>. Enter the new primary domain name here. This updates the cPanel account's main domain correctly.<\/li>\r\n\r\n\r\n\r\n
- Adjust DNS and Email Settings<\/em>: With the primary domain changed, you must update DNS records. This ensures everything from subdomains to emails work right. Keep all email accounts linked to the new domain to prevent issues.<\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n
Remember, changing the primary domain might impact SEO ranks. To reduce this, set up a 301 redirect, so search engines know about the change. Always back up your account before these changes to avoid losing data.<\/p>\r\n\r\n\r\n\r\n
Emails and subdomains tied to the old domain will switch to the new one automatically. This keeps services running smoothly but double-check to confirm all settings in cPanel are right.<\/p>\r\n\r\n\r\n\r\n
For shared hosting users, the AMP (Account Management Panel) allows domain changes too. This is another path depending on your hosting. Allanux Web helps a lot with this, making the switch easier.<\/p>\r\n\r\n\r\n\r\n
To keep your site working well and friendly to search engines, follow these steps and tips carefully. Starting with WHM<\/strong> access guides the process smoothly.<\/p>\r\n\r\n\r\n\r\n
Conclusion<\/h2>\r\n\r\n\r\n\r\n
Changing your main domain on cPanel through WHM is vital for your online impact. By following the steps in this article, you can change domains with little downtime. It's crucial to follow all steps and domain management<\/strong> rules to keep your online services stable and professional.<\/p>\r\n\r\n\r\n\r\n
After you change the domain, checking the update details is key. Make sure your website and email work well. It's important to keep an eye on your domain and update it when needed to avoid online problems. Rebuilding configuration files and refreshing caches are important steps in this process.<\/p>\r\n\r\n\r\n\r\n
- Modify Account Settings<\/em>: Find 'Modify an Account' in WHM<\/strong>. Enter the new primary domain name here. This updates the cPanel account's main domain correctly.<\/li>\r\n\r\n\r\n\r\n
- Subdomains<\/em>: Any subdomains will also be updated. It's vital to reconfigure them as needed after the change.<\/li>\r\n\r\n\r\n\r\n
- Register Your New Domain<\/em>: Make sure your new domain is registered with a trusted registrar. Check that it's set up to point to your hosting's nameservers. This reduces downtime during the switch.<\/li>\r\n\r\n\r\n\r\n