SwHosting.ie Knowledgebase



Main > Control Panels > cPanel
Minimize Text   Default    Enlarge Text

How do I set up nameserver in cPanel?

Print
Save to list
Subscribe
To add a new nameserver in cPanel/WHM, go to the "Manage Nameserver IPs" tab, in Server setup, in WHM. Add the name for your name server (for example, ns.somedomain.com) and click add. It will add the nameserver to the next available IP on your server.
 
Note that you must have free IPs in your IP pool to add a nameserver to your server.
 
The second way to do this, is to create a reseller and assign that reseller a nameserver IP.

Third way,
Nameservers are stored in the file /etc/nameserverips . You can add the nameservers in this file next to an IP address. Then in WHM, add a DNS zone for each nameserver with the IP listed next to the nameserver in the /etc/nameserverips file.

Still having problems?
Open a support ticket including your client id number and account domain for assistance.




Related Articles
How Do I Create Personal Nameservers?
If you have a reseller account, VPS or Dedicated server, you can create your own nameservers to use(ns1.yourdomain.com, ns2.yourdomain.com) Example: Your VPS Hostname:...
Local DNS Resolvers
Here are the current local resolver IPs for resolv.conf nameserver 4.2.2.1 nameserver 64.191.1.2 nameserver 10.1.1.15
How do I access WHM?
How do I access WHM? You can access WHM in one of two ways: 1. Secure SSL https://main_server_ip:2087 2. Regular http://main_server_ip:2086 and...
Powered by KnowledgeBuilder