How Can We Help?
-
cPanel
- How to Add Edit and Manage DNS in cPanel
- How to Check cPanel Version
- How to create domain redirection from cpanel
- How to email login suspend from cpanel
- How to make noreply email from cpanel
- How to delete an email account on cpanel
- How to increase email storage size on cpanel
- How to create an email forwarder on cPanel
- How to check email delivery report on cpanel
- How to Remove Addon Domain in cPanel
- How to Redirect a Domain in cPanel
- How to Create a Subdomain in cPanel
- How to Change the Primary Domain Name of a cPanel Account
- cPanel File Manager Backup: A Complete Guide
- A Step-By-Step Guide To Download Files Using cPanel File Manager
- How-To Guide For Resetting cPanel File Manager
- What is AutoSSL from the cPanel
- What is cPanel File Manager?
- How to Forcefully Suspend a cPanel Account via SSH
- How to Install & Activate SSL in cPanel Hosting
- How to install Imagick PHP extension
- Fatal error: Allowed Memory Size Error in WordPress
- How to Rollback a cPanel Update
- how to install cpanel on almalinux
- How to Install Composer in cPanel Using Terminal: Step-by-Step Guide (2026)
- How to Auto-Block Attackers on LiteSpeed Server: 7-Strike Security Script
- Show Remaining Articles (11) Collapse Articles
-
Email
- How to email login suspend from cpanel
- How to make noreply email from cpanel
- How to delete an email account on cpanel
- How to increase email storage size on cpanel
- How to create an email forwarder on cPanel
- How to check email delivery report on cpanel
- How to suspend/unsuspend outgoing email
- How to create Email accounts
-
WHM
- How to Check cPanel Version
- How to suspend/unsuspend outgoing email
- How to rebuild Apache configuration
- How to Change the Primary Domain Name of a cPanel Account
- How-To Guide For Resetting cPanel File Manager
- What is AutoSSL from the cPanel
- How to Forcefully Suspend a cPanel Account via SSH
- How to install Imagick PHP extension
- How to Rollback a cPanel Update
- how to install cpanel on almalinux
- How to Enable Symlink Protection in WHM
- How to Set Password Strength for WHM/cPanel Users
- How to Restore Backup of a File or Directory via WHM
- How to Unsuspend Accounts that are Bandwidth Exceeders via WHM
- How to Change Password of a User Account via WHM
- How to Add a Package in WHM
- How to Create MySQL Profiles via WHM
- How to Increase Upload Size for MySQL Database via WHM
- How to Email All Users in WHM
- How to Enable AutoSSL for all Users from WHM Panel
- How to Disable PHP Functions from WHM Panel
- How to Enable/Disable AutoSSL for Specific Users from WHM Panel
- How to Install Redis and PHP Redis on a cPanel Server
- How to Change IP Addresses of Multiple Sites/Accounts in WHM
- How to Change IP Address of a Site in WHM
- How to Enable/Disable Demo Mode for an Account from WHM
- How to Enable Greylisting from WHM
- How to Check Bandwidth Usage from WHM Panel
- How to Block Bots from Apache with WHM/cPanel
- How to Restart Apache Server from WHM
- How to Restart MySQL Server from WHM
- How to Restart DNS Server from WHM
- How to Install FFMPEG for WHM/cPanel Server
- How to Install CSF Firewall via WHM/cPanel
- How to Change the Hostname of a WHM/cPanel Server
- How to Install Composer in cPanel Using Terminal: Step-by-Step Guide (2026)
- How to Auto-Block Attackers on LiteSpeed Server: 7-Strike Security Script
- Show Remaining Articles (22) Collapse Articles
-
Cloudlinux
-
Beginner Guide
- Domain vs Web Hosting in Hindi: Kya Antar Hai? (Detailed Guide for Beginners)
- How to Buy a Domain Name in India: Step-by-Step Guide (2025)
- What is Web Hosting? Simple Explanation for Indian Students (Web Hosting Kya Hai?)
- Shared Hosting vs VPS Hosting in Hindi: Kaunsa Aapke Liye Best Hai?
- Shared Hosting for New Blog: Kya Yeh 2026 Mein Sahi Choice Hai?
- 5 Things to Check Before Buying Cheap Hosting in India (2026 Guide)
- How to Install WordPress on Mailwala Hosting: Step-by-Step Guide (2026)
- Why Do You Need a Professional Business Email Address in 2026?
- How to Choose the Best Web Hosting for Small Business in India (2026)
- Top 10 Benefits of Cloud Hosting in India: 2026 Future Guide
- How to Speed Up Your WordPress Website in 2026: Complete Guide
- Best Cloud Hosting Providers in India: Why Mailwala Leads in 2026
- 10 Essential Website Security Tips 2026: Protect Your Site Today
- Top 7 Web Hosting Trends to Watch in 2026: The Future is Here
- How to Move Your Website to a New Host in 2026: A Complete Guide
- How to Start a Blog in India in 2026: A Complete Step-by-Step Roadmap
- Domain Privacy Protection: Why You Need It in 2026? (WHOIS Privacy)
- Managed WordPress Hosting vs Unmanaged Hosting in 2026: Kaunsa Chunein?
- Top 7 Must Have WordPress Plugins in 2026: Complete Guide
- 7 Common Web Hosting Mistakes to Avoid in 2026 (Pro Tips)
- Why SSL Certificate is Mandatory for SEO in 2026? (Complete Guide)
- How to Create a Business Website Without Coding in 2026 (Full Guide)
- How to Choose the Perfect Domain Extension (.com, .in, .net) in 2026
- How to Backup Your Website Automatically in 2026: Complete Guide
- High Traffic Website Ke Liye Best Hosting Kaise Chunein? (2026 Guide)
- Types of Web Hosting Explained 2026: Shared, VPS, and Cloud
- Understanding CDN and its SEO Benefits in 2026: Ultimate Guide
- Show Remaining Articles (12) Collapse Articles
-
Business Growth & eCommerce
- Why Every Small Shop in India Needs a Website in 2026: 10 Solid Reasons
- How to Create a Business Email for Your Company for Just ₹29/mo (2026)
- Shopify vs. WooCommerce: Indian Sellers Ke Liye Kaunsa Best Hai? (2026)
- Online Grocery Store Kaise Shuru Karein? 2026 Full Business Guide
- Business Emails Spam Mein Kyu Jaate Hain? 5 Reasons & Fixes (2026)
- Shared Hosting vs. VPS: Aapke Business ko Upgrade ki Zarurat Kab Hai?
- Website Launch Se Pehle "Coming Soon" Page Kaise Banayein? (2026 Guide)
- Best Budget Hosting for Startups in Mumbai and Delhi (2026 Guide)
- Google Ads Ke Liye Professional Landing Page Kaise Banayein? (2026)
- Local Business Ke Liye Digital Marketing Basics: Grahak Kaise Badhayein?
- eCommerce Site Par Customer Data Secure Kaise Rakhein? (2026 Guide)
- India Mein eCommerce Website Chalane Ka Kitna Kharcha Aata Hai? (2026)
- WooCommerce Store Ki Mobile Speed Kaise Badhayein? (2026 Guide)
- WordPress Ke Liye Best Payment Gateways in India (2026 Guide)
- Website Par WhatsApp Chat Button Kaise Lagayein? (2026 Guide)
- Slow Website Se Sales Kaise Khatam Hoti Hai? (Real Case Study 2026)
- Website Mailwala Par Kaise Transfer Karein? Zero Downtime Guide (2026)
- Website Ki Speed Aur Health Kaise Check Karein? Top 5 Free Tools (2026)
- Show Remaining Articles (3) Collapse Articles
-
cPanel & Technical Tutorials
- cPanel Mein Database Kaise Banayein? Step-by-Step Tutorial (2026)
- cPanel File Manager Kaise Use Karein? Beginner’s Guide (2026)
- Website ko HTTP se HTTPS par Redirect Kaise Karein? (cPanel Guide)
- Website ka Backup Kaise Lein aur Restore Karein? cPanel Guide (2026)
- cPanel Mein PHP Version Kaise Badlein? Speed aur Security ke liye Guide
- cPanel Mein FTP Account Kaise Banayein? (Developer Guide 2026)
- .htaccess File Kya Hai? Ise Safely Edit Kaise Karein? (2026 Guide)
- cPanel 'Optimize Website' Tool Se Speed Kaise Badhayein? (2026)
- cPanel Error Logs Kaise Dekhein? Website Errors Solve Karne Ka Tarika
- Website Par Hackers Aur Spam Kaise Rokein? cPanel IP Blocker Guide
- cPanel Mein Cron Jobs Kaise Set Karein? Automatic Tasks Guide
- WordPress File Permission Errors Kaise Thik Karein? (cPanel Guide)
- cPanel Terminal Kaise Use Karein? (Advanced User Guide 2026)
- Password Protect Folders in cPanel, Website Directory Lock Kaise Karein?
- cPanel Site Publisher for Under Construction Pages: Ek Quick Guide
-
Business Email & Communication
- Connect Business Email to Gmail: Step-by-Step Configuration Guide
- Professional Email Autoresponders in cPanel: Step-by-Step Guide
- Email Filters in cPanel: Inbox Ko Organize aur Spam-Free Banayein
- Track Email Delivery in cPanel: Bheje Gaye Emails Ka Status Kaise Check Karein?
- Default Address in cPanel: Galat Type Kiye Gaye Emails Kaise Payein?
- Email Disk Usage in cPanel: Mailbox Space Kaise Khali Karein?
- Email Forwarders in cPanel: Ek Email Multiple Logo Ko Kaise Bhejein?
-
Troubleshooting & Error Fixes
- Fix Error Establishing a Database Connection: WordPress Error Solve Karein
- Fix 500 Internal Server Error WordPress: Troubleshooting Checklist
- Fix 403 Forbidden Error WordPress: Access Denied Problem Kaise Solve Karein?
- Fix Error 404 Not Found WordPress: Broken Links Kaise Thik Karein?
- Fix Briefly Unavailable for Scheduled Maintenance WordPress Error
- Fix Maximum Execution Time Exceeded WordPress: PHP Timeout Guide
- Fix Upload Failed to Write File to Disk WordPress: 100% Solution
- Fix White Screen of Death WordPress: Blank Page Problem Kaise Thik Karein?
< All Topics
Print
How to Change the Primary Domain Name of a cPanel Account
Posted
Updated
Byadmin
Changing the primary domain of a cPanel account is a significant action that requires access to WebHost Manager (WHM) and should be done with caution. This process is not a simple rename; it has cascading effects on your website files, email accounts, and other configurations.
What You Need to Know Before You Begin
- You must have WHM access. This is a task for server administrators, not individual cPanel users. If you are on a shared hosting plan, you will need to contact your hosting provider to perform this action for you.
- Back up your website. Before making any changes, create a full backup of your website files and databases. This is a critical step, as the change can potentially break your site, especially if you use a CMS like WordPress.
- The old domain is not deleted. The previous primary domain will be removed as the primary, but its files will remain in the
public_htmldirectory. If you still need to use the old domain, you’ll have to add it back as an Addon or Parked domain.
How to Change the Primary Domain
- Log in to WHM: Access your WebHost Manager panel, usually at
yourdomain.com:2087or via your hosting provider’s client area. - Navigate to “Modify an Account”: In the search bar on the left, type “Modify an Account” and click on the option that appears under the Account Functions section.
- Select the Account: Find the cPanel account you want to modify from the list and click the Modify button.
- Enter the New Primary Domain: On the account modification page, you will see a field for Primary Domain. Enter the new domain name you want to use.
- Save the Changes: Scroll to the bottom of the page and click the Save button.
WHM will then process the change, which can take a few moments.
Post-Change Actions
After changing the primary domain, several things happen, and you may need to take manual steps to get your site fully functional:
- Email Accounts: All email accounts tied to the old primary domain (e.g.,
user@olddomain.com) will be renamed to the new domain (e.g.,user@newdomain.com). You will need to update the email settings on any devices that use these accounts. - Website Files: The cPanel account’s
public_htmldirectory will now be associated with the new domain. However, if your old site (especially a CMS like WordPress) had hardcoded links, you will need to manually update them to reflect the new domain name. - DNS Records: The DNS records for the old domain will be deleted and new ones will be created for the new domain. If you had any custom DNS records, you will need to re-add them using the Zone Editor in cPanel.
Table of Contents