How to Change the Server IP Address in WHM / cPanel

October 21, 2015 / cPanel & WHM


1. Updating the IP address in the Control Panel.

To change the IP for the WHM/cPanel follow the below steps.

  1. Using an SSH interface like PuTTY you can connect to your VPS server.
  2. Update the following command in your control panel license.# /usr/local/cpanel/cpkeyclt
  3. Now log into the WHM panel using this address: https://new_server_ip:2087
  4. Go to Home>>Main >> Sever Configuration >> Basic cPanel and WHM setup menu and click on All Tab.Basic WebHost Manager Setup
  5. To set up the Shared Internet protocol virtual host, the ‘IP address’ field is used. Enter the new Internet protocol address in the ‘Basic Config‘ section at that time save the changes.Basic Config
  6. Go to Home >> Main >> Account Functions and change the IP address of the site so that the added user sites’ IP is updated.
  7. After selecting the ‘User‘ then click on ‘Change‘.
  8. From the drop-down menu select the new IP address and click ‘Change‘.

Repeat this procedure for every newly created user. By filtering the users using the User Name or the Domain name using the account search function this process can be speeded up.

2. On your DNS server update the IP address

The following step exhibits how to change the IP address for the private name servers (NS) of your specified DNS server.

  1. Come on Home >> Main >> Server Configuration >> Basic cPanel & WHM Setup menu and click on All Tab button.
  2. At this juncture beneath the ‘Nameservers‘ section change the Internet protocol address and click save the changes.NameServers

3. Update the A Record.

Below are the steps to update the A-records for the prevailing zones in the DNS on the WHM cPanel.

  1. Come on Home >> Main >> DNS Functions >> Edit DNS Zone menu.
  2. Select the ‘Domain‘ and the ‘Edit‘ button.
  3. To the A record apply the new IP address.
  4. This procedure has to be repeated for all added domains.

Read Here: How to Change IP Address of Site’s in WHM

Spread the love