How to Change the Default Nameservers via WHM

(Root Access Required)

Evans

Last Update 2 months ago

As the server administrator, you can configure the default nameservers that are automatically assigned when creating new cPanel accounts. This is useful for branding and DNS management.

Note: Root-level access to WHM is required. Reseller accounts do not have permission to modify default nameservers.

Steps to Change the Default Nameservers in WHM
1. Log in to WHM as Root
  • Access your server’s WHM interface using:

  • Use your root credentials to log in.
2. Navigate to Basic WebHost Manager Setup

  • In the left-hand menu or top search bar, type:

  • Click on the Basic WebHost Manager® Setup option under Server Configuration.
3. Update the Nameservers
  • Scroll down to the Nameservers section.

  • You will see multiple fields (Nameserver 1, Nameserver 2, etc.).

  • Enter your preferred nameservers (e.g., ns1.yourdomain.com, ns2.yourdomain.com).

4. Save Your Changes
  • Once you’ve entered your custom nameservers, click the Save Changes button at the bottom of the page.

Your default nameservers have now been updated.
 Optional: Register Nameservers with Your Domain Registrar

If you’re using custom nameservers (like ns1.yourdomain.com), ensure that:

  • They are registered at your domain registrar (as glue records).

  • Corresponding A records are added in DNS to point to your server’s IP.

Was this article helpful?

1 out of 2 liked this article

Still need help? Message Us