How to change DNS records at cPanel (generic)
Hundreds of hosts use cPanel. If your host gave you a cPanel login, these steps apply regardless of the brand.
Where the DNS settings live
- Log in to cPanel (usually
yourdomain.com/cpanelor a link from your host). - Under the Domains section click Zone Editor.
- Click Manage next to the domain to see all records.
Adding a record
- Click Add Record (or the quick buttons: Add A Record, Add CNAME Record, Add MX Record).
- Fill in Name — cPanel expects the fully-qualified name, so it will append your domain automatically. Check the preview before saving.
- Set the TTL (14400 is the cPanel default) and the record value.
- Click Add Record.
Editing or deleting a record
- Click Edit on the record row, change the value, and click Save Record.
- Click Delete and confirm to remove a record.
Changing the nameservers
- cPanel cannot change nameservers — that happens at the registrar.
- Editing the cPanel zone has no effect unless the domain's nameservers point at this server.
cPanel (generic) nameservers
These are the values you would set at your registrar to let cPanel (generic) run your DNS. Always confirm them in your own account — several providers assign per-account values.
Set by your host
Gotchas at cPanel (generic)
- cPanel appends the domain to whatever you type in Name. Typing
www.yourdomain.comproduceswww.yourdomain.com.yourdomain.com. - Deleting the wrong NS or SOA record can break the whole zone — leave those alone.
- Some hosts hide Zone Editor and provide their own DNS tool instead.
After you save
DNS changes are not instant. Resolvers keep the old answer until the previous record's TTL expires, so a record with a 4-hour TTL can take 4 hours to change everywhere — occasionally longer if an ISP ignores TTLs. Check what the world currently sees before assuming something is broken, and see the troubleshooting page if it still looks wrong after the TTL has passed.
Other web host guides
A2 Hosting
cPanel-based host; DNS is edited in cPanel or the client area.
Bluehost
WordPress-focused shared host, part of Newfold Digital.
DreamHost
Long-running independent host and registrar.
Fasthosts
UK host and registrar with its own control panel.
GreenGeeks
Eco-branded cPanel host.
HostGator
Shared host, also part of Newfold Digital. DNS is edited in the customer portal or cPanel.