Changing WHM nameserver IP's or Fixing No IP

Changing the Nameserver IPs of the WHM or Fixing No IP

If the client is getting the Nameserver IPs from the Main >> DNS Functions >> Nameserver IPs as
Example:
Nameserver IP           Zones
ns1.localhost.com 127.0.0.1   2
ns2.localhost.com 127.0.0.1   2


  •  From WHM to change them you can it from
Main >> Server Configuration >> Basic cPanel & WHM Setup >> Nameservers

  •  From the shell you can change it with the below mentioned process
#vi /etc/nameserverips
127.0.0.1=ns1.localhost.com
127.0.0.1=ns2.localhost.com
change it to the appripriate IP address and Local host.
:wq!

  • Then access the file /var/cpanel/nameserverips.yaml
#vi /var/cpanel/nameserverips.yaml
Replace the appropriate nameservers and the IP address.

  • After that restart the service
#service named restart OR #/etc/init.d/named restart
#service cpanel restart OR #/etc/init.d/cpanel restart

Check for the changes in the Nameserver IPs of the WHM.

  • 106 משתמשים שמצאו מאמר זה מועיל
?האם התשובה שקיבלתם הייתה מועילה

מאמרים קשורים

How to Increase PHP memory limit in WHM

Go to Service Configuration >> PHP Configuration Editor Change the value 32m to 64m or...

Increase maximum upload size in cPanel

you can easily increase maximum file upload size:1. Access cPanel and look for Select PHP version...