NOTE 1: Doing this will delete any custom DNS (including MX) records, so make sure to go into cPanel > Advanced Zone Editor and MX Entry and take a screenshot of or copy the records to a text document. A second effect of this change is that all email accounts change to reflect the new domain, for example changing the primary domain from yourdomain.net.au to mydomain.net.au will change email@example.com to firstname.lastname@example.org You will need to update the Email Address and Username (for both incoming and outgoing server) on any devices that email account is set up on.
NOTE 2: This article is for cPanel/WHM Self Managed, Control Panel and Blaze VPS products only. If you're on a Business or Reseller hosting plan, or a Managed VPS, submit a ticket to support and we can make this change for you.
Step 1 - Log in to WHM
Step 2 - Select the List Accounts option
Step 3 - Click on the + icon next to the domain you wish to change then click on the Modify Account button
Step 4 - Update the Primary Domain field to the new domain
NOTE: We highly recommend NOT changing the cPanel username. As it's tied to the database name, you may get database errors when doing this, and these errors relate to site code/config
Step 5 - Scroll down to the bottom of the screen and click Modify
How to change the primary domain name on a cPanel account
To make it easier to get in touch with us, from the 24th of March 2016 all support tickets will need to be submitted from your Crucial Control Panel.