How to Manage DNS Records with cPanel Zone Editor¶

DNS controls where your domain points and how email is delivered. In cPanel, you manage DNS via the Zone Editor.
Warning
Only edit DNS in cPanel if your domain uses the DNS provider that cPanel is serving (usually your hosting nameservers). If your domain uses Cloudflare or another DNS provider, edit DNS there instead.
Open the Zone Editor¶
- Log in to cPanel.
- Go to Domains → Zone Editor.
- Find your domain and click Manage.
You will now see a list of records and a button to Add record.
Add common DNS records¶
Add an A record (point a name to an IP)¶
Typical use: @ or www to your web server IP.
- Click + Add Record.
- Set:
- Name:
@(root) orwww- Type:A- Record / Address: your server IP - TTL: default is fine - Click Save.
Add a CNAME record (alias one name to another)¶
Typical use: point www to @, or connect third-party services.
- Click + Add Record.
- Set:
- Name:
www- Type:CNAME- Record / Target:yourdomain.com. - Click Save.
About the trailing dot
Some DNS UIs auto-add it. If cPanel accepts it, keep it. If not, omit it. The important part is the target value.
Add an MX record (email routing)¶
Only change MX records if you know where your email should be delivered.
- Click Manage (inside the domain).
- Click + Add Record → choose MX.
- Set:
- Name:
@- Priority: provided by your mail provider - Destination: mail server host (example:mail.yourdomain.com) - Click Save.
Add a TXT record (SPF, DMARC, verifications)¶
Typical use: SPF, DMARC, Google/Microsoft verification, DKIM (sometimes).
- Click + Add Record → TXT.
- Set:
- Name: provided by the service (often
@or_dmarc) - Record: paste the TXT value - Click Save.
Edit or remove existing records¶
- Edit: locate the record and click Edit, then Save Record.
- Delete: locate the record and click Delete.
Do not delete by guessing
Deleting MX, DKIM, or critical A records can take your site or email down immediately.
DNS propagation and TTL¶
Even after saving, the Internet may cache the old values.
- Typical propagation: minutes to a few hours
- Worst case (high TTL): up to 24 hours
Tip
If you plan a migration, lower TTL a day before the switch. Then you can raise it again later.
Troubleshooting¶
“My changes don’t work”¶
- Confirm you edited DNS in the active DNS provider.
- Clear local DNS cache or test from a different network.
- Verify records with
dig(advanced) or a DNS checker website.
“Email stopped working”¶
- Check MX records did not get replaced or duplicated.
- Verify SPF/DKIM/DMARC TXT values are correct.
- If you moved email to Microsoft 365 or Google Workspace, apply their exact record set.
“Website not loading”¶
- Confirm the correct A/AAAA records exist for
@andwww. - If using Cloudflare proxy, DNS records must point to Cloudflare, not directly to the origin IP.
Summary¶
Use cPanel → Zone Editor to manage DNS only when cPanel is your DNS provider. Add A/CNAME for website routing and TXT/MX for email and verification. Change records carefully and expect propagation delay.