Questions? Feedback? powered by Olark live chat software
Knowledgebase
Author Avatar

Changing WHM Nameservers and/or IPs

Written by: on 27 May 2016 07:44 PM 27 May 2016 07:44 PM

Go through setup wizard, it asks for the name servers & IPs. Learn to specify correctly to fix problem through WHM.

When you go through the setup wizard, it will ask for the name servers and IPs. If you specify this incorrectly you cannot fix the problem through the WHM interface.

You need to:

  1. Login to SSH
  2. nano /etc/nameserverips
  3. Fix the file so that it correctly lists each IP and name server e.g.:

203.143.8x.x=ns1.yourdomain.com
203.143.8x.x=ns2.yourdomain.com

  • To save changes press: CTRL O
  • To exit press: CTRL X
  • rm /var/cpanel/nameserverips.yaml
  • rm /var/cpanel/nameserverips.cache
  • service named restart
  • service cpanel restart
  • Now in WHM go to Server Configuration -> Basic cPanel & WHM Setup
  • Look at the name servers and ensure they are listed correctly.
  • If your DNS zones are not working properly, go to DNS Functions -> Reset Zones
(1 vote(s))
Helpful
Not helpful