• Industry Solutions
    • Managed Service Providers
    • Enterprise Solutions
    • Developers & Startups
    • Healthcare
    • Trading and Financial
      • Chicago Managed Trading Servers
      • Trading and Financial Colocation: Chicago & New Jersey
    • IBM AS/400 and iSeries Users
  • Support
    • Register
    • View Tickets
    • Submit a Ticket
    • Knowledgebase
    • News
  • Steadfast Blog
  • Steadfast Podcasts
  • Contact Us
Home
  • Call Us
  • Call | 888.281.9449
  • Login
  • Search

This form logs you into your management portal account. To access your help desk account, click here and use the form to the right of the news.

  • Cloud Hosting
    • Cloud Hosting
    • Private Cloud
    • Hybrid Cloud
    • Public Cloud
    • Cloud Storage
      • Secure File Share
      • Wasabi Cloud Storage
    • Virtual Data Center Platform
  • Managed Hosting
    • Bare Metal Dedicated Servers
      • Deep Learning GPU Dedicated Servers
      • Linux Dedicated Servers
      • Windows Dedicated Servers
    • Virtual Private Servers
    • Data Center Colocation
      • Managed Colocation
      • Chicago: 350 E Cermak
      • Chicago: 725 S Wells
      • Edison, New Jersey
    • Security & Compliance
      • Managed Firewall
      • SSL VPN
      • DDoS Protection
      • Email Security
  • Backup & Disaster Recovery
    • Backup
    • Disaster Recovery
    • Veeam Backup & Replication
    • Veeam Cloud Connect
    • Wasabi Cloud Storage
  • Why Steadfast
    • Why Steadfast?
    • About Steadfast
      • Our History
      • News and Press
    • Data Centers & Network
      • Our Data Centers
      • Our Network
      • Network Test
      • Peering Policy
    • Customer Stories
    • Service Level Agreement
  • Industry Solutions
    • Managed Service Providers
    • Enterprise Solutions
    • Developers & Startups
    • Healthcare
    • Trading and Financial
      • Chicago Managed Trading Servers
      • Trading and Financial Colocation: Chicago & New Jersey
    • IBM AS/400 and iSeries Users
  • Support
    • Register
    • View Tickets
    • Submit a Ticket
    • Knowledgebase
    • News
  • Steadfast Blog
  • Steadfast Podcasts
  • Contact Us
Close
  • Support Home
  • Register
  • Submit a Ticket
  • Knowledgebase
  • News
 Login Subscribe

Log into the help desk to manage support tickets.


Lost password

Subscribe to general maintenance announcements and advisories.



 
 Knowledgebase
39Steadfast Cloud Platform 3Full Management 38Dedicated Servers & Colocation 4Control Panels 19Other
Search
Knowledgebase: Control Panels > cPanel & WHM
Setting up nameservers in cPanel/WHM
Posted by - NA -, Last modified by Kevin Stange on 03 November 2010 04:33 PM
To host your own nameservers using WHM, you need to first select the primary domain name that you will use for your hosting. In this example we will use "yourdomain.com." You will need to already have at least two IP addresses assigned to your server.

  1. Log into WHM and click on "Nameserver Selection" under "Service Configuration." Make sure "BIND" is selected, then click the "Save" button to confirm that you wish to enable the nameserver.
  2. Click on "Basic cPanel/WHM Setup." Find the options "Primary Nameserver" and "Secondary Nameserver." Enter the nameserver addresses ("ns1.yourdomain.com" and "ns2.yourdomain.com") into the two boxes.
  3. After entering the nameserver's name, click the button labeled "Assign IP address" next to each address. Note the IP that was assigned to each address. If this works correctly, also click the button labeled "Add an A entry for this nameserver" next to each address.
    • Important! If WHM gives an error about the nameserver already having an IP assigned, you must first delete any previous records that you set up on another server. Use the instructions in step 5 to find your domain's nameserver configuration and remove the existing addresses. Once you have deleted these records, return to step 2 and try again.
  4. Make sure to scroll to the bottom of the page and click the "Save" button.
  5. Go to the control panel for your domain's registrar. Look for a feature that allows you to host your own nameservers. It may be called "Domain Host" or "Hosting Nameservers." From that interface, map the two IPs from step 3 to records for "ns1" and "ns2" Be sure that you assign the same IP that WHM chose or you may experience issues later on with DNS. If you had existing records here, delete them first, and start again from step 2.
  6. Your nameservers have now been set up! You may now set each domain you host to use these nameserver addresses ("ns1.yourdomain.com" and "ns2.yourdomain.com"), including the "yourdomain.com" domain.
  7. If you added any accounts to WHM before creating your new nameservers, you should click on "Edit DNS Zone" under "DNS Functions." Edit each existing zone and verify the following:
    • On the line that says "IN SOA" make sure the next box contains the address of your primary nameserver ("ns1.yourdomain.com" in this example).
    • On the lines with NS in the drop-down list, make sure the first lists your primary nameserver, and the second lists your secondard nameserver.

If you made any changes to the zone, be sure to scroll to the bottom of the page and click "Save."

(270 vote(s))
Helpful
Not helpful

Comments (1)
Antonio
11 May 2006 05:42 PM
Great Article Kevin. Got me "in the zone" pronto, immediately.
Thank you so much

I consent to allow Steadfast to process my data and agree to the Acceptable Use and Privacy Policies

  • 312.602.2689
  • ColoHouse Sales
  • Facebook
  • Twitter
  • YouTube
  • LinkedIn

Services

  • Cloud Hosting
  • Managed Hosting
  • Backup & Disaster Recovery

Solutions By Industry

  • Enterprise Solutions
  • Trading & Financial
  • Healthcare
  • Developers & Startups
© 2023 Steadfast
  • Log In
  • Site Map
  • Legal Info & Privacy Policy