Announcement

Collapse
No announcement yet.

How can I change the Nameserver IPs of the WHM?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • KelvinSmith
    replied
    If you are getting the Nameserver IPs from the Main >> DNS Functions >> Nameserver IPs

    For Example:

    Nameserver IP No. Zones
    ns1.localhost.com 11.22.33.44 80
    ns2.localhost.com 11.22.33.44 80
    :: To change them from WHM ::

    Main >> Server Configuration >> Basic cPanel & WHM Setup >> Nameservers
    :: From Shell you can change it with the below mentioned process ::

    #vi /etc/nameserverips
    11.22.33.44=ns1.localhost.com
    11.22.33.44=ns2.localhost.com
    Change it to the appropriate 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.
    :: Then restart the service ::

    #service named restart OR #/etc/init.d/named restart
    #service cPanel restart OR #/etc/init.d/cpanel restart
    Check the changes in the Nameserver IPs of the WHM.

    Leave a comment:


  • Elliott
    started a topic How can I change the Nameserver IPs of the WHM?

    How can I change the Nameserver IPs of the WHM?

    Hi guys,
    I want to change the Nameserver IPs of the WHM. Can anyone guide to me to change it?
Working...
X