Setting up Nameservers in WHM

Last Updated: August 27, 2023By

Changing the nameservers for a domain is typically done through your domain registrar, not through cPanel. However, if you’re looking to set up or modify nameserver entries for a server or if you’re a hosting provider with WHM (Web Host Manager) access, you can configure nameservers within WHM.

If you are just trying to point your domain to a cPanel hosting account, you would typically modify the nameservers at the domain registrar where your domain is registered (e.g., GoDaddy, Namecheap, etc.).

But, if you’re really looking to change or set up nameservers within WHM, here’s a general procedure:

Setting up Nameservers in WHM:

  1. Login to WHM.
  2. Navigate to Basic WebHost Manager Setup.
  • You can locate this by searching for “Basic” in the top-left search bar or scrolling down to “Server Configuration” and clicking on “Basic WebHost Manager Setup.”
  1. Scroll down to Nameservers.
  • Here, you will see fields to input primary, secondary, and possibly tertiary nameservers.
  1. Input Nameservers.
  • Typically, nameservers look like ns1.yourdomain.com and ns2.yourdomain.com. Input your desired nameservers in the provided fields.
  1. Save Changes.
  • Scroll to the bottom and click the “Save Changes” button.
  1. Register the Nameservers with Your Domain Registrar.
  • This is an essential step. You need to go to your domain registrar and register the nameservers (e.g., ns1.yourdomain.com and ns2.yourdomain.com) if they are based on your domain. The method to do this will differ depending on your registrar.
  1. Set Up A Records for Nameservers.
  • In WHM, navigate to “Add an A Entry for your Hostname.”
  • Make sure there are A records for your nameservers (ns1 and ns2) pointing to the correct server IPs.
  1. Wait for Propagation.
  • Once you’ve made changes to nameservers or DNS, it can take anywhere from a few hours to 48 hours to propagate across the internet.

Always make sure you have backups of your essential data and configurations before making significant changes. Additionally, be cautious when modifying DNS as incorrect configurations can cause downtime or routing issues. If you’re unsure, it’s always a good idea to consult with a professional or your hosting provider.

editor's pick

news via inbox

Nulla turp dis cursus. Integer liberos  euismod pretium faucibua