Managing DNS A Records and CNAME Records in cPanel's Simple Zone Editor
If you need to point your domain or subdomain to a specific IP address or another domain name, you'll need to use DNS **A Records** and **CNAME Records**. This article demonstrates how to easily add and remove these records using the **Simple Zone Editor** in your cPanel dashboard.
Understanding A Records and CNAME Records
- A Records: Are essential for directing a domain name (or a subdomain) to a web server's **IP address**.
- CNAME Records: Are often used to create an alias, pointing a hostname to another **canonical name** (another domain or subdomain).
⚙️ DNS Record Management Steps
- Log into your cPanel account.
- Navigate to the **Domains** section and click the **Simple Zone Editor** icon.
- Select the Domain you want to edit from the dropdown menu.
To Add an A Record:
- Under the **Add an A Record** section, enter the desired subdomain in the **Name** field (e.g., enter example for [suspicious link removed]).
- Enter the destination **IP Address** in the corresponding field.
- Click **Add a Record**.
To Add a CNAME Record:
The process is similar to adding an A Record, but you will use the **Add a CNAME Record** section:
- Under the **Add a CNAME Record** section, enter the desired alias in the **Name** field.
- Enter the destination **canonical domain name** in the **CNAME** field (instead of an IP address).
- Click **Add a CNAME Record**.
To Remove an Existing Record:
- Scroll down to the **User-Defined Records** section on the same page.
- Locate the record you wish to remove.
- Click the **Delete** button next to the record. A confirmation prompt may appear.
DNS propagation can take a few minutes to up to 48 hours for changes to take effect globally.