Change Primary Domain in WHM

If you use multiple aliases ( previously called parked domains) within a cPanel account, you may find yourself wanting to change the main domain used for the cPanel account containing these domains. Changing the primary domain is desirable for multiple reasons and many times occurs when the site in use switches from one TLD to another (i.e., .net to .com). You may desire to change this if the name of your company or site changes. It can also occur when a domain is no longer used, or when the domain is removed from an account. Sometimes the wrong site name was set to be the primary domain, to begin with (we all make mistakes, right?). Whatever the reason for changing the primary domain, the change is relatively simple to make. However, it does make some potentially significant changes on the account that could create the need for additional changes for site functionality, so it is best to understand what these changes are before making this decision wholeheartedly.

Email & DNS

This change will modify multiple factors of the domain including (if you so choose) the cPanel username (which is usually not advised), the FTP username and MySQL users. Making this change will delete any custom DNS records if you are using custom nameservers setup within WHM and hosting your DNS. If using custom nameservers be sure to go into the DNS editor and take a screenshot of your DNS for the domain or copy the records to a text document before making this change. An additional effect is that all e-mail accounts change to reflect the new domain, for example changing the primary domain from yourdomain.com to newdomain.com will change admin@yourdomain.com to admin@newdomain.com. You may then need to update the e-mail address and username (for both incoming and outgoing servers within your e-mail client) on any devices that e-mail account is set up on.

Aliases

If you already added an alias ( a parked domain which shares content) or addon domain (which has its content apart from the main domain), you need to remove it first. Meaning you may need to save the content and site data for addon domains elsewhere on the server until after this change. You will also want to remove any subdomains of your primary domain name before you can change it as well. The following can be used as a basic guide to remove these as the process for each is the same:

Log into cPanel: yourdomain.com/cpanel
Navigate to and click on ‘Aliases’ (this may be listed as parked domains on older versions of WHM) (or you could locate subdomains or addon domains)
Locate the alias you want to be removed and click remove.

SSL Certificates

If you have an SSL certificate applied to this account, you will end up revoking the SSL installed for the current primary domain by removing it. In these cases a new SSL is necessary. If you are using AutoSSL, you may need to re-run to ensure all sites have an SSL installed appropriately. If you have purchased an SSL, you will need to order a new SSL for the new domain name.

Changing the primary domain may require modifying the siteurl if you are using WordPress and this could break the installation until you change the URL.

Hostname

Often changing the primary domain is confused with the hostname of the server, these are separate changes. However, for clarity, this does not change the hostname of the server (your server name) and does not change the name of the server within your manage.liquidweb.com account either. Changing the primary domain will only change data related to the cPanel account and its associated user. While most changes are made within the cPanel account for the user, this change can not be made within the cPanel account for the domain. Changing the primary domain is done via WHM which requires root level access.

Backups

Before making any significant changes on your server, its advised to have the ability to revert in case of mistakes. Create a full website backup via cPanel for the account you want to modify. You can find instructions on how to do this here.

Ensure that you have available backups for the domain within the backup restoration area in WHM. These will be available if you already have backups configured within WHM. If you use alternate means to back up your accounts, ensure you have available backups before making this change.

To change the primary domain, you will need to do this within WHM.

  1. You can access WHM by using the servers IP followed by the port 2087, or if DNS is set up for the hostname, you can access WHM by using the hostname/whm. Another method is to use a domain name on the server followed by /whm:Examples:
    • 192.168.1.1:2087 (replace the IP with your servers IP)
    • https://hostname.com/whm
    • https://domainname.com/whm
  2. To change the primary domain login to WHM using the root user and root password:To change the primary domain log in to WHM using root.
  3. After logging the top right of your window is a search bar (you may need to expand this menu). Access List Accounts via the search bar and click on the link it displays.Find the primary domain in WHM by searching for "List Accounts".
  4. Find the user you want to modify by typing in the name of the account in the new search bar that opens. Then click the + symbol next to the user:In the WHM account click the "modify account" button to change the primary domain.
  5. Finally, click the Modify Account button:The 'modify account' button changes the primary domain in WHM.
  6. Change the Primary Domain to the domain you want in its place:WHM screen indicates where to change the primary domain.
  7. Decide if you’re going to adjust options. You could decide to modify the databases associated with the domain to include new prefixes, for example, changing the Username.
Note:
If you are not familiar with what these changes mean. It’s highly recommended NOT to change the cPanel username. Since the username is tied to the database name, you may get database errors when altering. Changing the username requires further site coding and configuration by your developer. Your WordPress or CMS configuration file will need to be updated if the username is changed creating new database names.

After making this change, you may find that you want to keep the old e-mail addresses used by the old primary domain. If this is the case, the fix is simple. Park the old domain on the new one via an alias and create new e-mail accounts under the old domain name within CPanel’s e-mail accounts section. This way you can still use your existing e-mail accounts and also change the primary domain.

You have successfully changed the primary domain for this account! Our Support Teams are filled with talented admins with an intimate knowledge of multiple web hosting technologies, especially those discussed in this article. If you are Fully Managed VPS customer and you are uncomfortable with performing the outlined steps, we are a phone call, chat or ticket away from assisting you with this process

Remove a Domain from our Email Hosting Service

Our email hosting service takes the pain out of setting up email within a VPS.  You get your own space, separate from your VPS to do simple tasks like setting up a domain to have email.  If you haven’t already explored the features of our Premium Business Email, we offer robust services like Microsoft Exchange that over up to 1TB worth of space!  Alternatively, if you are looking for something smaller, our Standard and Plus mail service may fit your needs with 25 GB worth of space. Check out how straightforward it is to delete a domain from our user-friendly control panel.

To remove a domain from your Premium Business Email hosting service, log in to your Liquid Web control panel.  If you have never logged into the Liquid Web control panel, you can follow our article to learn how!

Deleting a Domain from our Email Hosting

Note:
Performing this action deletes your data permanently. However, the email system retains your mailbox information on the servers for 14 days after permanent deletion. Should you need to recover your deleted mailboxes? Contact our support team to assist with recovery of deleted mailboxes.

1. Log into your Liquid Web control panel.  From the main overview screen, click on the Domains tab on the left-hand side. You will be taken to the Domains Dashboard window, now click on the Email tab.
Domains and Email Hosting Tab in manage.liquidweb.com

2. On the Email Domains Dashboard, find the domain that you want to delete and click on the three dots to the right hand side of the screen. Once you click the three dots, you will be prompted with a Remove Email Service button.
Mail Hosting: Removing Email Domain
3.After you click on the Remove Email Service button you will be presented with window that will ask you to verify that you do indeed wish to delete the email domain from our Premium Business Email service. For confirmation you will need to type in the email domain, once entered, the Delete all Mailboxes and Messages button will light red.
Email Hosting: Domain Name to Delete

There you have it! Effortlessly remove and add a domain within your control panel, it’ s everything you need to be an email admin, all located in one spot.  Check out our affordable options and find out why more people are switching to Premium Business Email.

 

Resetting Passwords in Premium Business Email and Hosted Exchange

Resetting passwords in your Premium Business Email and Hosted Exchange is a painless experience with the tools available for either self-service password recovery or by having an administrator change your password for you. This tutorial will outline how to recover a lost or forgotten password in your email account. Continue reading “Resetting Passwords in Premium Business Email and Hosted Exchange”

Using the Email Help Tool for Premium Business Email and Hosted Exchange

Your Premium Business Email and Hosted Exchange comes with a support tool with everything you need to set up your email client on desktop and mobile devices. You also have access to troubleshooting and repair information in case you run into issues during and after the webmail client setup. If you have Premium Business Email Plus, the email help tool will allow you to set up your Cloud Drive for document storage and sharing as well as learn how to use Mobile Sync for your device setups.

Continue reading “Using the Email Help Tool for Premium Business Email and Hosted Exchange”

Adjusting Spam Filtering in Premium Business Email and Hosted Exchange

No one likes email spam, it’s a fact! There are ways to filter spam with your cPanel email, but what if you had automatic spam filtering that provided better protection and the ability to determine how it’s filtered? The answer is here with Liquid Web Premium Business Email and Hosted Exchange. Once you activate your Premium Business Email or Hosted Exchange account, you have access to and control over how your spam is filtered and delivered. Let’s take a look at how it works! Continue reading “Adjusting Spam Filtering in Premium Business Email and Hosted Exchange”

Adding a Mailbox in Premium Business Email and Hosted Exchange

Other than the platform you get your mail on, there’s really no difference between how you add a mailbox with your Premium Business Email or Hosted Exchange email. Adding an individual mailbox is an easy process that just takes a few moments, or you can add multiple mailboxes all at one time. Continue reading “Adding a Mailbox in Premium Business Email and Hosted Exchange”

Adding Multiple Mailboxes in Premium Business Email and Hosted Exchange

Just like adding a single mailbox, adding multiple mailboxes at once is nearly an identical process for both Premium Business Email and Hosted Exchange. Adding Multiple mailboxes comes in handy for migrating your email to Liquid Web Premium Business Email or Hosted Exchange. With just a simple spreadsheet, you can create all the mailboxes you need for your organization. Let’s take a look at how! Continue reading “Adding Multiple Mailboxes in Premium Business Email and Hosted Exchange”

How To Set up Email in Outlook 2016

Pre-Flight Check

 

Step #1: Add or Edit the Email Account

Continue reading “How To Set up Email in Outlook 2016”

Troubleshooting email in WHM

In this article we will go over the process used to investigate Email delivery issues on a WHM server. This can be helpful when a user is having issues receiving or sending Emails. The Mail Troubleshooter tool provided in WHM works by tracing the route an Email would take when sent to the provided Email address. Continue reading “Troubleshooting email in WHM”