DNS (Domain Name System) is the component of the Internet that converts human-readable domain names (for example,
example.com) into computer-readable IP addresses (for example,
18.104.22.168). DNS uses zone files that reside on your server to map domain names to IP addresses.
There are several different types of records in a domain's zone file. This interface allows you to create and delete A and CNAME (Canonical Name Record) records.
You cannot set a record's time to live (TTL) in this interface. Records that you create with this interface default to the TTL that your hosting provider specifies. To set the TTL for a record, use cPanel's Advanced DNS Zone Editor interface (Home >> Domains >> Advanced DNS Zone Editor).
Add an A record
An A record is a DNS record that maps hostnames to IP addresses. A records are essential because they allow DNS servers to identify and locate your website and its various services on the Internet. Without appropriate A records, your visitors cannot access your website, FTP site, or email accounts.
To add an A record, perform the following steps:
- Enter the Name and Address of the A record.
- Click Add A Record.
cPanel & WHM configures your DNS records so that visitors can resolve your website and its services (for example, FTP and Email). Only add A records when you add a service that cPanel & WHM or your service provider do not provide.
Add a CNAME record
A CNAME record creates an alias for another domain name, which DNS looks up. This is useful, for example, if you point multiple CNAME records to a single A record in order to simplify DNS maintenance.
To add a CNAME record, perform the following steps:
- Enter CNAME record in the Name and CNAME text box.
- Click Add CNAME Record.
Delete a record
To delete an A or CNAME record, perform the following steps:
- Click the Delete link next to the record that you wish to remove.
- Click Delete.