Edit DNS records in cPanel Zone Editor (A, CNAME, TXT)

Domains & DNS

2 people found this article helpful

Add, change or delete your domain's DNS records (A, CNAME, TXT and more) in cPanel under Domains > Zone Editor > Manage.

Before you start: records in cPanel only count when your domain uses our nameservers, the ones shown on your hosting service (see Find your server name, IP address and nameservers). If your domain uses another provider's nameservers, edit the records there.

Open the zone of your domain

  1. Log in to cPanel (see Log in to cPanel from the client area). In the Domains section, click Zone Editor.

    cPanel Domains section with the Zone Editor icon
  2. Click Manage next to your domain. The quick buttons A Record, CNAME Record and MX Record next to it open a short form for one record.

    Zone Editor domain list with the A Record, CNAME Record, MX Record, DNSSEC and Manage buttons

The page lists every record of the domain with Name, TTL, Type and Record. Many are created by cPanel for your website and email, such as www, mail and webmail. Leave those as they are unless you know you need a change.

Add an A record (point a name to an IP address)

  1. Click Add Record. A new row opens at the top of the list.

  2. Fill in the row:

    • Name: the subdomain, for example app. cPanel completes it to app.yourdomain.com. when you leave the field.
    • TTL: keep the value that is filled in.
    • Type: A.
    • Record: the IPv4 address, for example 203.0.113.10.
  3. Click Save Record. A green message confirms it.

    Zone Editor with the Add Record button and a new A record row with name, TTL, type, IP address and Save Record

Add a CNAME record (an alias of another name)

Click Add Record, choose CNAME as Type, enter the alias in Name (for example store) and the target name in Record (for example yourdomain.com or the address a service gives you). Click Save Record.

New CNAME record row in Zone Editor with the alias name, the target and Save Record

Add a TXT record (verification, SPF)

Services such as Google, Microsoft or a payment provider often ask you to add a TXT record to prove the domain is yours. Click Add Record, choose TXT, enter the name the service asks for (for the main domain, your domain with a dot at the end, such as yourdomain.com.) and paste the text into Record. Click Save Record.

New TXT record row in Zone Editor with the domain name, the verification text and Save Record

Your domain already has an SPF record (a TXT record that starts with v=spf1). Don't add a second one, edit the existing one instead (see Fix email going to spam: SPF, DKIM and DMARC).

Change or delete a record

  1. Find the record:

    1. Type part of its name in Filter by name, or click a type next to Filter.
    2. Click Edit, change the values and click Save Record.
    3. Or click Delete and confirm with Continue.
    Zone Editor filtered by name with one CNAME record and its Edit and Delete buttons

How long until a change works?

Each record has a TTL (time to live) in seconds. The default here is 14400, which is 4 hours: other DNS servers may keep the old value that long. New records usually work sooner. To check your own computer, clear your DNS cache.

Common problems

The record is saved but nothing changes

Check that the domain uses our nameservers. The line "Configured nameservers for this zone" at the top of the zone should match the nameservers your domain really uses.

A CNAME record can't be saved

A name with a CNAME can't have any other record. Delete the old A or CNAME record with the same name first, then add the new one.

Your domain is registered with us but has no hosting

Then there's no Zone Editor for it. If the domain has the DNS Host Record Management addon, edit its records in the client area on the domain page under DNS Management. Otherwise open a ticket in Domains Support.

Related articles

Still stuck? Open a support ticket and we'll help.


Was this answer helpful?

2FA 301 redirect 3D Secure 404 page 500 error 550 error A record accept quote access log account credit account details account password Account Preferences account security add funds addon domain address importer affiliate program AI assistant AlmaLinux 9 Android email Apache Apache virtual host API token Apple Mail Ask AI auth code authenticator app auto-renew automatic payment automatic updates autoresponder AutoSSL bandwidth billing address billing contact billing section block editor block IP bounce bounce message BoxTrapper build a WordPress website bulk email accounts business email buy domain buy hosting buy SSL certificate CalDAV calendar sync callback can't log in cancel hosting cancellation card declined CardDAV catch-all Certbot change domain WordPress change email change nameserver change package change password change payment checklist checkout choose a plan client accounts client area clone WordPress cloud server coming soon page commission company name confirmation link contact contact form Contact Information contacts control panel cPanel cPanel API cPanel contact email cPanel DNS cPanel domains cPanel email cPanel install cPanel language cPanel layout cPanel login cPanel password cPanel SSL cPanel update cPanel users create cPanel account create mailbox credit card cron cron job CRT key CA bundle CSF firewall CSV import currency custom error page Custom Nameservers custom offer dashboard data center database password database privileges database user Database Wizard date.timezone DDNS deceptive site ahead default address delete database delete old emails deny access deploy deposit device email settings Directory Privacy disk space disk usage DKIM DMARC DNS cache DNS explained DNS Records DNS Zone Management document root domain alias domain grace period Domain Hosting Domain Management domain name domain renewal domain transfer downgrade download invoice due date dynamic DNS ElySpace email account email account exists email backup email client email delivery email disk usage email filters email forwarder email history email hosting email login email migration email password email ports email preferences email quota email routing email signature email test email verification EPP code error error log error pages EV SSL expired domain expiry expiry date export database export emails fake email faster support feedback File Manager file permissions firewall first website flush DNS folder force HTTPS forgot password form email not received forward email free migration free SSL FTP account's password FTP password Galaxy email setup getting started Git GitHub Gmail Gmail app GoDaddy good ticket Google malware warning Google sign-in Google Workspace GST number Gzip compression hacked website hacked WordPress hardening help help center home server hosting hosting addons hosting glossary hosting location hosting plan Hosting Service hosting terms hosting tools hosting types hostname hostname SSL hostnamectl hotlink protection HOW TO ADD NAME SERVERS TO MY DOMAIN NAME How to create additional FTP accounts in cPanel How to create FTP accounts in cPanel How to setup name-servers for a domain htaccess htaccess redirect HTTP to HTTPS image theft IMAP IMAP settings IMAP SMTP settings import emails import SQL Imunify360 index.php virus INR install plugin install SSL certificate install WordPress instant answers invite user invoice invoice details invoice emails invoice PDF invoices IP address IP Blocker iPad iPhone email knowledgebase language large database leech protection LEMP Let's Encrypt LFD linked accounts LiteSpeed Cache live chat locked out log out login login email login problem lost email Mac Mac email mail rules mailbox mailbox check mailbox full mailbox size mailing list Mailman maintenance maintenance mode malware removal malware scan manage services mass payment max_execution_time members area memory_limit menu migrate WordPress migration request migration ticket mobile webmail money-back guarantee move email move website move WordPress site MultiPHP INI Editor MultiPHP Manager multiple accounts multiple websites MX record MX records my domains MySQL MySQL database MySQL user mysqldump nameserver Nameservers network drive new account new order newsletter Nginx Node.js notifications npm nvm open ticket Optimize Website or delete order order email out of office outage Outlook Outlook app Outlook IMAP Outlook mobile Outlook password prompt OX App Suite OX webmail page speed password protect pay all pay invoice payment payment details payment failed payment method payment methods PayPal permalinks permissions phishing phone support PHP errors PHP timezone PHP version PHP-FPM php.ini PHPMailer phpMyAdmin plugin updates point domain print invoice printer SMTP product addons products professional email profile public_html publish a post quick start quota quote quotes rating Raw Access raw access logs reading settings redemption period redirect referral link refund register register domain remove user renew domain renewal repair database reseller hosting reset admin password reset password resource usage restore WordPress revoke access revoke privileges root login Roundcube Roundcube export Roundcube identities Roundcube signature rsync backup Samsung Email scam scan to email scheduled task search Search Console self-hosted WordPress send and receive send as server IP address server location server security server status service details services session setup setup domain i setup domain name shared passwords shared vs VPS sign up single sign-on site address Sitejet Builder SMTP SMTP settings spam spam filter SpamAssassin SPF SSH SSH hardening SSH key SSL certificate static front page strong password subaccount subdomain suggestions support ticket support ticket tips support tickets suspension switch account tar test site Thunderbird ticket reply ticket status track delivery transfer website troubleshooting two-factor authentication UAPI Ubuntu Ubuntu 24.04 UFW unpaid invoice unsubscribe unzip upcp upgrade hosting UPI upload files upload_max_filesize URL forwarding user management User Manager username vacation reply VAT ID verify email Web Disk web hosting web hosting basics web server WebDAV webmail webmail From address webmail on phone webmail password website builder website email website migration website not loading Website Performance website security welcome email WhatsApp WhatsApp support whitelist WHM wildcard SSL WordPress 404 WordPress backup WordPress caching WordPress critical error WordPress email WordPress errors WordPress homepage WordPress hosting WordPress login WordPress malware WordPress Management WordPress menu WordPress offline WordPress pages WordPress password WordPress plugins WordPress post WordPress security WordPress SMTP WordPress speed WordPress staging WordPress themes WordPress transfer WordPress update WordPress URL WordPress.org vs WordPress.com WP Mail SMTP wp-admin wp-admin login wp-cron zip Zone Editor zone templates