Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2011
    Posts
    1

    Default WHM Server Unplanned IP address change - Emergency!

    Greetings;
    Do to an emergency, we had to phsically relocate our server to a new provider and the IP address we had is no longer valid - so now the server has become inaccessable.

    The origional IP address is no longer valid so the server has no access to the internet, and although I've registered the new IP address with cPanel for a temp license until i get it back on line it will work because the server still has the OLD ip address and I don't know where to change the IP address for the server manually. We are running CENTOS. When I look at the ifcfg-eth0 or 1 files, they both say DHCP which is not correct.

    things to remember - I cannot access the WHM web page it says it's invalid so changing there is impossible.

    Any help would be appreciated.

    running: WHM 11.30.0 (build 27)

    Cheers;
    Bob

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: WHM Server Unplanned IP address change - Emergency!

    The /etc/sysconfig/network-scripts/ifcfg-eth0 file would normally be the primary static frontend IP. You can review the following discussion on what the contents should show for a static IP:

    How to configure a static ip in Linux

    Upon changing the file to represent the correct values for the IP, you could restart the network:

    Code:
    /etc/init.d/network restart
    If this works, you should then be able to run "ifconfig" and see the correct IP listed. If it doesn't work, the server will possibly become unreachable, so hopefully you have physical access to it. If you do not, have someone who does perform this change.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Registered User
    Join Date
    Aug 2008
    Posts
    1

    Default Re: WHM Server Unplanned IP address change - Emergency!

    Did you get your server IP successfully changed? We are wanting to move our server to a new circuit, and the IP would change. What all do you have to modify? The things I can think of are:

    Main IP
    Name Server IP
    DNS for all accounts

    Am I missing anything? I wonder how long of an outage we would have, to make these changes. Of course, we are wanting to schedule it at night, but am afraid the DNS stuff would leave sites down for several days. Has anyone done this successfully?

    Sean

  4. #4
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: WHM Server Unplanned IP address change - Emergency!

    Quote Originally Posted by Site Ox View Post
    Of course, we are wanting to schedule it at night, but am afraid the DNS stuff would leave sites down for several days.
    Consider reducing the Minimum TTL value in the DNS Zones a couple of days before changing IP addresses. 3600 would be a reasonable value, and should help reduce the time it takes the changes to propagate. You can increase the values back to the default entires after your customers report that everything is working normally.

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

Similar Threads & Tags
Similar threads

  1. How can I change the main IP address of the server?
    By surfturtle in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 04-07-2011, 09:54 AM
  2. Server IP address change not working.
    By scottr in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-14-2008, 04:29 PM
  3. How to change the main server's IP address?
    By iconraul in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-27-2006, 10:24 AM
  4. How Do i change the IP address of my cpanel server?
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-08-2003, 11:22 AM
  5. WHM - change IP address issues...
    By Captain_cashflow in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-14-2002, 02:12 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube