How to Change DNS Zones (MX, CNAME and A Records)

With cPanel, users are granted access to make some DNS changes from within the control panel. Please note that this effect will only work if HostGator's nameservers or private nameservers registered with XenyoHosting IPs are being used.

  • Users can create and edit A and CNAME records by going to the Simple DNS Zone Editor which is found under the Domains section in cPanel.
  • Users can also create and edit MX records with the MX Entry icon found under the Mail section in cPanel.
  • Users can easily customize SPF records using the Email Authentication icon under the Mail section in cPanel.
  • Users can also add TXT records using the Advanced DNS Zone Editor icon under the Domains section in cPanel.

Important Information About DNS Changes

When making changes to DNS, please keep the following in mind:

  • DNS zone changes must be made where the domain's nameservers point.
  • DNS zone changes are not instant; they require time for propagation. Most records need 0-4 hours, but nameserver records require approximately 24-48 hours.
  • It is vital to check the NS records and ensure they match exactly to the nameservers being used at the domain's registrar. If they do not match exactly, your website may experience intermittent downtime.

DNS Zone Functions

The following information will assist you in understanding the purpose of each DNS zone.

  • Nameservers assist in finding the server and correct DNS zone for a domain in order to get the information on the other DNS zone records.
  • NS records listed in the DNS zone must match the nameservers being used.
  • A records point the domain to an IP address (e.g. mydomain.com -> IP address).
  • CNAME records point subdomains to another domain name like www and mail. (e.g. www.domain.com -> domain.com).
  • MX records control where emails are received. If the mail is to be hosted on another server, then the MX records are what need to be changed. (e.g. domain.com -> mail server).
  • TXT records are custom records which contain machine-readable data. TXT records must be formatted according to whichever technology you are trying to use.
  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

How to Log into Webmail

Webmail is a great feature offered by cPanel. There are two ways that you can log into webmail:...

How Do I Create and Remove an Addon Domain

An addon domain is a secondary domain hosted on a cPanel account. Addon domains typically have...

How Do I Create a MySQL Database, a User, and Then Delete if Needed?

Databases offer a method for managing large amounts of information over the web easily. They are...

How to Generate/Download a Full Backup

A full backup is a backup of all of your files, email, databases, etc. Once initiated, you must...

How to change permissions (chmod) of a file

Permissions can be very important when it comes to hosting your website. Permissions can allow...