Log in to your cPanel.
Navigate to the "Domains" section and click on "Advanced DNS Zone Editor" option.
You can choose the domain you would like to edit from the selection with Manage or directly use A Record, CNAME Record and MX Record.
If you would like to add a new record, navigate to "+A Record":
(An A record (Address Record) points a domain or subdomain to an IP address).
"Name" must be a domain with an optional period at the end.
"TTL" must be a positive integer (in seconds).
"Address" must be an IP-address.
Once all the fields are filled click on "Add an A Record" button.
If you would like to add a new record, navigate to "+CNAME Record":
(A CNAME (Canonical Name) points one domain or subdomain to another domain name, allowing you to update one A-Record each time you make a change, regardless of how many Host Records need to resolve to that IP address)
Once all the fields are filled click on "Add an CNAME Record" button.
If you would like to add a new record, navigate to "+MX Record":
Mail Exchange (MX) records are DNS records that are necessary for delivering email to your address.
In simple DNS terms, an MX record is used to tell the world which mail servers accept incoming mail for your domain and where emails sent to your domain should be routed to. If your MX records are not pointed to the correct location, you will not receive email.
Priority must be 1-10.
Destination Example mail.mydomain.com
Once all the fields are filled click on "Add an MX Record" button.