f60 host support centerf60 host support centerf60 host support centerf60 host support center
  • Domains
    • Free Domain Name Checker
    • Domain Comparsion
    • Domain Prices
    • Domain Name Renewal
  • Email
    • Google Workspace
    • Google Workspace Pricing
    • Email Gsuite Data Migrations
    • Email Setup
  • Cyber Security
    • Cyber Security Consulting
    • SSL Certificate
  • Services
    • SEO
    • Web Design
    • Seo Friendly Website Design
    • WordPress Transfer Data Migration
    • HTML/PHP Data Migration
    • WordPress Website Design
    • Ecommerce Shopify Website
  • Pricing
  • Help
    • FAQ
  • 🔐Register/Login
  • Google Services
  • WordPress Tutorials
  • cPanel & Hosting
  • Additional Tutorials
  • Domain Tutorials
  • SEO Tutorials
  • SSL Certificate
  • Cyber Security
✕
Domain Tutorials WordPress Tutorials cPanel & Hosting Google Services Cyber Security SSL Certificate SEO Tutorials

How to Change the Primary Domain in cPanel

Published by Faizan Momin at January 28, 2022
TwitterFacebookLinkedInWhatsAppRedditCopy
How to Change the Primary Domain in cPanel

cPanel was originally designed with the assumption that a new primary domain would indicate a new site. It’s simple to change your primary domain, but keep in mind that cPanel software only changes the primary domain as listed in certain places in cPanel, not within the site files. If you are new, you may be surprised by just how much you will need to manually edit.

We cover what does and does not automatically change below, but if you’re new to cPanel the breakdown is not intuitive. Take your time, make backups beforehand, and only change your primary domain if you need to. To avoid errors, you should register your new domain name before switching your primary domain. Your old primary domain’s site files

will be in the same place as the new primary domain’s site files will go. If you want to create a new site, you must move or remove those old files.

What you'll discover in this article

  • What Does and Does Not Automatically Change
    • What About WordPress and Other Software?
    • Can I Remove the Primary Domain in cPanel?
  • To Change the Primary Domain in cPanel Account

What Does and Does Not Automatically Change

Before we get started on how to change your main domain, it’s important to understand what changes and what doesn’t. When you change your primary domain, it affects your email, website files, subdomains, and search engine ranking. Previous Domain Name: The previous main domain name on the account will be removed.

If you still need that previous main domain, you will need to log into your cPanel and add it as either a parked or addon domain name. Once the domain name has been changed, you will log into your cPanel via https://domainB.com/cpanel instead of https://domainA.com/cpanel.

Subdomains: All of your subdomains.domainA.com will turn into subdomains.domainB.com. For example, sales.domainA.com will now be sales.domainB.com.

Search Engine Rank: If you are changing your website’s domain name, keep in mind that this could affect your rank in search engines. Google recommends that you set up a 301 redirect — especially when keeping the old domain, which lets search engines know the website is permanently moving.

What About WordPress and Other Software?

If you’re using a content management system or other website software (such as WordPress), keep in mind that changing the main domain may only be the beginning of the changes you’ll need to make. Please double-check the documentation for your software’s domain name changes. Our instructions for altering the site URL and home settings in WordPress can be found here.

Can I Remove the Primary Domain in cPanel?

A principal domain is required for cPanel to work. You don’t have to use the principal domain, but it must exist in order for cPanel to function. If you need to use a placeholder domain, simply put a random phrase, random numbers, or a domain you do not own. You can still log in to your account using your server’s hostname or another domain name, and can even work on your site in the browser if you use a hosts file modification.

To Change the Primary Domain in cPanel Account

  • To change the primary domain login to WHM using the root user and root password:
  • Click the List Accounts option under the Account Information section.
  • Click the ‘+‘ icon beside the domain you want to change.
Change the Primary Domain in cPanel
  • Click the Modify Account button.
  • Enter the new domain name in the Primary Domain field.
 Primary Domain in cPanel
  • Scroll down to the end and click the Save button.

After making this change, you may find that you want to keep the old primary domain’s email addresses. If this is the case, the solution is straightforward. Using an alias, park the old domain on the new one and create new email accounts under the old domain name in cPanel’s email accounts section. You can continue to use your existing email accounts while also changing the primary domain.

You have successfully changed this account’s primary domain! Our Support Teams are staffed with talented admins being well in a variety of web hosting technologies, particularly those discussed in this article. If you are a Fully Managed VPS customer and are unsure about following the steps outlined, we are happy to assist you.

TwitterFacebookLinkedInWhatsAppRedditCopy
Faizan Momin
Faizan Momin
  • Change the Primary Domain
  • Change the Primary Domain in cPanel
  • cPanel
  • Domain
  • How to Change the Primary Domain in cPanel

Related posts

How to Use the Track DNS Tool in cPanel
May 1, 2022

How to Use the Track DNS Tool in cPanel


Read more
Changing File Permissions in cPanel
April 29, 2022

Changing File Permissions in cPanel


Read more
What is Domain Privacy Protection and do you need it?
April 19, 2022

What is Domain Privacy Protection and do you need it? 


Read more
What is cPanel? How to login to cPanel
April 9, 2022

What is cPanel? How to login to cPanel


Read more
  • Additional Tutorials
  • Business Email
  • cPanel & Hosting
  • Cyber Security
  • Domain Tutorials
  • Google Services
  • JumpCloud
  • SEO Tutorials
  • SSL Certificate
  • WordPress Tutorials
  • Top 5 Alternatives to Google Workspace
    by Iftikhar Qureshi
    June 27, 2022
  • What is Cloud Directory? How Does It Work?
    by Iftikhar Qureshi
    June 20, 2022
  • Here’s a list of Google Workspace’s recommended third-party apps for 2022.
    by Iftikhar Qureshi
    June 15, 2022
  • Dark web vs Deep web
    by Keval Parmar
    June 9, 2022
  • WordPress Vs Shopify
    by Keval Parmar
    June 8, 2022
  • Google Docs vs Microsoft word
    by Keval Parmar
    June 7, 2022
  • JumpCloud vs Okta
    by Iftikhar Qureshi
    June 2, 2022
  • What Are Subdomains? A Complete Guide For Beginners
    by Faizan Momin
    June 2, 2022
  • How Multiple Domain Names Benefit Business
    by Keval Parmar
    May 31, 2022
  • 10 Ways to Make Google Love Your Business Site
    by Faizan Momin
    May 30, 2022
orders@f60host.com

Hosting

  • .xyz Domains at INR 49/yr only
  • .com Domain at INR 699 only
  • .net Domain at INR 850 only
  • .in Domain at INR 499 only
  • .co.in Domain at INR 499 only
  • .org Domain at INR 999 only
  • Transfer Domains at lowest cost

f60 host

Google Services

  • Google Gsuite / Google Workspace
  • Gsuite Data Migration
  • Google Workspace Bulk Discount
  • Google Adwords
  • Email Data Migration

Enhanced Protection

  • Cyber Security
  • SSL Certificate
  • FAQ
  • Support

Your Data is Secure

Data is Secure

Email us :
orders@f60host.com

Call us :
+91 79772 56291
© Copyright 2021-22 F60 Host