Knowledge Base

How to Add DNS Records in cPanel

cPanel logo

This article will show you how to add DNS records in cPanel.

Before you start: DNS changes take time to spread, so allow up to 48 hours before assuming something is wrong. If the domain uses external name servers, records added here will have no effect: they must be added wherever the name servers point.


1. Log in to cPanel

Use your user details to log in to the cPanel control panel.

Log in to cPanel

2. Navigate to the Domains Section

Scroll down and find the Domains section in cPanel.

Navigate to the Domains Section

3. Access the Zone Editor

Click on the Zone Editor option under the Domains section.

Access the Zone Editor

4. Select the Domain

Find the domain for which you want to add a DNS record and click on the Manage button next to it.

Select the Domain

5. Add a New Record

  • Click on the + Add Record button.
  • From the drop-down menu, select the type of DNS record you want to add (e.g. A, CNAME, MX, TXT, etc.).

Add a New Record

6. Enter Record Details

  • Name: Enter the name for the record (e.g. subdomain for subdomain.yourdomain.com).
  • TTL: Set the Time to Live value (default is usually fine).
  • Type: Choose the record type (e.g. A, CNAME, MX, TXT).
  • Record: Enter the value for the record (e.g. IP address for an A record, target domain for a CNAME record).

7. Save the Record

After entering the details, click the Save Record button to add the DNS record.

Save the Record

8. Verify the Record

The new record should appear in the list. Allow time for it to publish before testing, and check with a propagation tool rather than your own browser, which caches aggressively.


Next: How to Configure SPF, DKIM and DMARC Records covers the records that affect mail delivery specifically.

Please rate this article to help us improve our Knowledge Base.

0 0