Have you ever needed to update your MX records, but wasn’t sure how to? Or perhaps you’re looking to point your domain’s mail servers to a 3rd party client such as Google Apps, and you need to create new MX records to match the ones you’re given. With this blog post, we’ll go over how to create new MX entries, as well as deleting any existing entries or resetting your records back to the default servers.
You can easily edit your MX records for any domain hosted on your cPanel account under Mail > MX Entries. Here you’ll see a drop down menu where you can select the domain you would like to edit. If you only have one domain added to your account, cPanel will automatically load the MX entries for this domain.
Creating MX Records
After you have loaded the domain’s MX entries, near the bottom you’ll see the option Add a New Record. Here you’ll be able to create the records for the external servers. While the list of records you’ll need to set up may have multiple options for you to set up, there are only two you’ll need to worry about: priority and destination. cPanel will take care of the rest by default. To create a new record, all you will need to do is put in proper integer for the priority, generally 1, 5, or 10 for the destination. In the example above, we’re setting up the servers according to Google App’s specifications. Once you’ve filled out both fields, click on the Add New Record button to create the record.
After creating all the MX records that you need for your domain, you can check the list of existing MX Records below the Add New Record section. You may see a record that you didn’t create with a priority of 0. This is the default MX record that cPanel creates when you add the domain to your web hosting account. Often, the external server steps will state to delete this record. You can do this under the Actions column by clicking on delete.
Here, you’ll be able to make sure all the records are set up properly, and edit any of the records that you just created or that were already there.
Once you’ve set up all the MX records for your domain, you have one step let: make sure your Email Routing is set up properly for your domain. You can do this in the section above Add New Record under Email Routing. By default cPanel will have it set up to automatically detect your configuration, however you may find that it is not updating properly or is not accurate. If this is the case and you’re setting up your records to point to an external server, please make sure to update this to Remote Mail Exchanger and click on the Change button.
After making this change, you’ll be done with setting up your MX records to point to an external mail server! You can finish up setting up your email with the final steps that is provided to you from the 3rd party, such as Google.
Unfortunately, cPanel doesn’t have a “reset to default” option for the MX records like it does for DNS records. However, you can essentially “reset” the information to default easily by deleting every record that you have created previously. After deleting each one, create a new record with the priority set to 0 and the destination set to your domain.com. Once you’ve created this record, please make sure the email routing is set up properly, as mentioned previously. It should be set to local when using the default records.
Now you can easily set up any MX records for your domains, and reset them back to default if you ever need to! With this information, you’ll be able to try out some alternate 3rd party email servers such as Google Apps. Be sure you are following our Facebook and Twitter pages to stay up to date with the latest in webmaster tips, updates for web software, everything x10Hosting, and more!