Learn how to manage your domain's DNS records using cPanel's Zone Editor to control where your domain points and how it functions.
What is DNS Zone Editor?
The Zone Editor in cPanel allows you to manage DNS (Domain Name System) records for your domains. DNS records tell the internet where to find your website, email servers, and other services.
Accessing Zone Editor
1. Log into cPanel
2. Find "Zone Editor" in the Domains section
3. Click on it to view your domains
4. Select the domain you want to manage
5. Click "Manage" to view/edit DNS records
Common DNS Record Types
- A Record: Points domain to an IP address (IPv4)
- AAAA Record: Points domain to an IPv6 address
- CNAME Record: Points subdomain to another domain
- MX Record: Directs email to mail servers
- TXT Record: Stores text information (SPF, DKIM, verification)
- NS Record: Specifies authoritative name servers
Adding an A Record
1. In Zone Editor, click "Add Record"
2. Select "A" record type
3. Enter record details:
A Record Settings:
• Name: Subdomain or @ for root domain
• TTL: Time to Live (usually 14400 or 3600)
• Record: IP address to point to
Examples:
• www: Points www.yourdomain.com to IP
• @: Points yourdomain.com to IP
• blog: Points blog.yourdomain.com to IP
4. Click "Add Record"
Adding CNAME Records
1. Click "Add Record" and select "CNAME"
2. Configure the CNAME:
CNAME Settings:
• Name: Subdomain (e.g., "www", "blog", "shop")
• TTL: Time to Live
• Record: Domain to point to (e.g., "yourdomain.com")
Common CNAME Examples:
• www ? yourdomain.com
• blog ? yourdomain.com
• mail ? mail.yourdomain.com
Managing MX Records for Email
MX records tell other email servers where to deliver email for your domain.
Adding MX Record:
1. Select "MX" record type
2. Configure settings:
MX Record Settings:
• Name: Usually @ for root domain
• TTL: Time to Live
• Priority: Lower numbers = higher priority
• Record: Mail server hostname
Example MX Records:
• Priority 10: mail.yourdomain.com
• Priority 20: backup-mail.yourdomain.com
Adding TXT Records
TXT records store text information for various purposes:
SPF Record Example:
• Name: @
• Record: v=spf1 include:yourmailserver.com ~all
Domain Verification:
• Name: @
• Record: google-site-verification=abc123...
DKIM Record:
• Name: default._domainkey
• Record: v=DKIM1; k=rsa; p=MIGfMA0G...
Editing Existing DNS Records
1. Find the record in Zone Editor
2. Click "Edit" next to the record
3. Modify the values as needed
4. Click "Save Record"
5. Changes may take up to 48 hours to propagate
Deleting DNS Records
1. Locate the record you want to remove
2. Click "Delete" next to the record
3. Confirm deletion
4. Record is removed immediately
DNS Propagation and TTL
TTL (Time to Live):
• How long DNS servers cache your records
• Lower TTL = faster updates, more DNS queries
• Higher TTL = slower updates, fewer DNS queries
• Common values: 300 (5 min), 3600 (1 hour), 14400 (4 hours)
DNS Propagation:
• Changes can take 24-48 hours worldwide
• Use online tools to check propagation status
• Clear local DNS cache to see changes faster
Common DNS Management Tasks
Pointing Domain to New Server:
1. Update A record with new IP address
2. Update www CNAME if needed
3. Wait for propagation
Setting Up Subdomain:
1. Add A record for subdomain
2. Or add CNAME pointing to main domain
3. Configure web server for subdomain
Email Server Change:
1. Update MX records with new mail server
2. Update A record for mail subdomain
3. Test email delivery
Troubleshooting DNS Issues
- Website not loading: Check A record points to correct IP
- Email not working: Verify MX records are correct
- Subdomain issues: Check CNAME or A record exists
- Changes not visible: Wait for DNS propagation or clear cache
DNS and Domain Support
Need help with complex DNS configurations? Our support team can assist with:
• Advanced DNS record management
• Domain migration and transfers
• Custom subdomain configurations
• Email routing and MX record setup
• SSL certificate installation and management
Submit a support ticket for expert DNS and domain assistance.