Set up nameserver DNS with WebHost Manager (WHM)

Generic selectors
Exact matches only
Search in title
Search in content
Filter by Categories
Account Management Help
add photos, video and audio
Add-on features and social media
Advanced
Advanced campaign settings
All about analytics
All about images
Basic steps
Calendar
Configure the Web Application Firewall (WAF)
Connect my Calendar and Online Storage to Workspace
contact support
copy files to my site
Create my email address
Customize campaign
Discover domains
discover linux hosting with cPanel
Discover Microsoft 365
Discover Online Storage
Discover Workspace Email
edit content
Email Marketing demo
expand your site with sections and pages
Explore email add-ons
Explore my account
Find server and port settings (IMAP/POP)
fine tune my website
get social
Get started with SSL certificates
Get the most out of Microsoft 365
help my site get found and monitor my metrics
Hosting & Servers
keep my account secure
Keep my email secure
know your privacy rights
Legacy
Manage your SSL certificate
Managed WordPress
Manual email configuration
Migrate and export my emails
My email account isn’t working (troubleshooting)
nameservers and DNS
online store
organize
parking, forwarding and monetizing
privacy and protection
publish my site
Quick Shopping Cart
Renew my products and services
renewals
Security
Set up a campaign
Set up email on my devices
set up my payment methods
Set up my Workspace Email account
start with the basics
Stay productive anywhere with Office apps
Streamline email tasks to help my business
transfer between accounts
transfer between registrars
Troubleshoot email and email setup
Troubleshooting
troubleshooting
Uncategorized
Upgrade and renewal options for email
Web & Classic Hosting
Website backups
Website Builder 7
Website Builder version 6
Website Security and Backups
Websites
work with databases
work with delegates
working with blogs

Required: Before you begin, set up a WHM account for your domain name. For more information, see Create an account in WebHost Manager (WHM).

Follow these steps to use your own domain name as a nameserver for websites your server hosts.

  1. Log in to WHM using root for your username and your server’s password at https://yourserverip:2087, where yourserverip is your server’s IP address.
  2. Below DNS Functions, select Edit DNS Zone.
    select edit dns zone
  3. Select the domain name you want to use, and then select Edit.
    select domain
  4. For the two rows with the menu displaying NS, edit the right-most columns to ns1.your domain name. and ns2.your domain name., respectively. Note: Don’t forget the period character (“.”) after your nameserver in these fields.
    enter name server info
  5. In the Add New Entries Below this Line section, do the following in the first row:
    • First field: Type ns1
    • Second field: Type 14400
    • Third field: Select A
    • Fourth field: Type your server’s IP address
    Then, in the second row, do the following:
    • First field: Type ns2
    • Second field: Type 14400
    • Third field: Select A
    • Fourth field: Type your server’s IP address
    add new entries
  6. Select Save.  Note: DNS can take 24-48 hours to propagate once these changes have been made.

Related steps

You now need to complete the following steps to use your domain name as a nameserver:

  1. Add your own host name to use your domain name as a nameserver.
  2. Then change the nameserver for your domain to your new custom nameserver.