Step-by-step CyberPanel setup DNS guide to configure domains, nameservers, and email records for reliable web hosting. Our CyberPanel Support Team is always here to help you.
CyberPanel Setup DNS Guide
Managing your website’s domain properly starts with DNS. CyberPanel setup DNS ensures your domain points to the right server, enabling websites, emails, and other services to function correctly. Many website owners overlook DNS configuration, but without it, your online presence could fail before it even starts.
In this guide, we’ll cover everything from creating nameservers to adding DNS records, using precise commands and steps that anyone can follow.

An Overview
Creating Nameservers in CyberPanel
First, nameservers act as guides, directing visitors from your domain to your server’s IP address. To create a nameserver:
1. Go to DNS → Create Nameserver.
2. Enter the nameserver details, like ns1.yourdomain.com and ns2.yourdomain.com, and associate them with your server’s IP address.
3. Click Create Nameserver.
Creating nameservers automatically generates a DNS zone for the domain. You must also add these records at your domain registrar. Standard nameservers like ns1 and ns2 are easy to remember, but you can use any naming pattern.
Creating a DNS Zone
After setting up nameservers, you need a DNS zone to manage records:
1. Navigate to Create Zone.
2. Enter the domain you want to manage.
3. Click Create DNS Zone.
This feature is useful if your domain only requires DNS management or email hosting. It does not create a home directory for the domain but allows complete control over its DNS records.
Managing DNS Records
Once your DNS zone is ready, you can add or delete records. CyberPanel supports: A, AAAA, MX, CNAME, TXT, SPF, and NS records.
To manage records:
1. Go to ADD/Delete Records.
2. Select the domain for which you want to add or delete records.
Adding Records Example:
- A Record: Choose A, enter @ or your domain in the name box, then input the IP address.
- MX Record: First, create an A record for your mail server, e.g., mail.cyberpanel.net, then add the MX record.
Configuring Default Nameservers
Before adding websites, it’s important to set default nameservers to prevent CyberPanel from assigning records to nonexistent hostnames:
1. Go to DNS → Config Default Nameservers.
2. Add up to four NS records, e.g., ns1.yourdomain.com, ns2.yourdomain.com.
3. Save changes.
Keep in mind that DNS changes may take up to 48 hours to propagate across the internet.
Additional Tips for CyberPanel DNS Setup
- Redundancy: Use at least two DNS servers to ensure continuous domain resolution.
- Email Configuration: Proper MX records guarantee that emails reach the correct server.
- SSL Verification: DNS records verify domains for SSL certificates and help prevent email spoofing with DKIM support.
- Custom Nameservers: Ideal for resellers wanting branded hosting services.
If your CyberPanel is freshly installed, register private name servers with Namecheap or GoDaddy. Then go to https://SERVER_URL.com/dns/configureDefaultNameServers to add ns1.yourdomain.com and ns2.yourdomain.com. After that, create a website at https://SERVER_URL.com/websites/createWebsite, ensuring SSL, DKIM support, open_basedir protection, and mail domain creation.
[If needed, Our team is available 24/7 for additional assistance.]
Conclusion
By following these exact instructions, your CyberPanel setup DNS will ensure reliable web traffic routing, secure email delivery, and proper domain configuration. Every record and nameserver will function correctly, giving your website a professional and uninterrupted online presence.
