The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change static Ip to a new one WHM/cPanel

Discussion in 'General Discussion' started by wtgotllc, Jan 18, 2015.

  1. wtgotllc

    wtgotllc Member

    Joined:
    Aug 24, 2014
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Apopka, Florida, United States
    cPanel Access Level:
    Root Administrator
    Change Ip, WHM, cPanel :confused:

    I recently upgraded my ISP Provider in which I was given a set of new static Ip's. I have a server which runs Linux 6.5 minimal Install and cPanel/WHM. I did some research and attempted to change the required information to get my Web Server back online. To no avail I am unable to connect to the internet whatsoever, but I am able to see my WHM license message. Even after completing all steps that I have listed in the appropriate images attached to this question below. ​

    - Removed -

    I might add that I am not able to do any yum update or ping of any kind from terminal; but I am able to see my cPanel licensing from my Servers Ip. Which makes me think that my server is online and I did change Ip with cPanel licensing.​
     
    #1 wtgotllc, Jan 18, 2015
    Last edited by a moderator: Jan 18, 2015
  2. wtgotllc

    wtgotllc Member

    Joined:
    Aug 24, 2014
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Apopka, Florida, United States
    cPanel Access Level:
    Root Administrator
    Changed host IP Email not working

    I have recently changed my host server Ip address and now no mail seems to not be working.

    Help!:confused:
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,468
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: Changed host IP Email not working

    Does your.domain.com resolve properly?
     
  4. wtgotllc

    wtgotllc Member

    Joined:
    Aug 24, 2014
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Apopka, Florida, United States
    cPanel Access Level:
    Root Administrator
    Re: Changed host IP Email not working

    As far as I can tell and I have no issues with any sites as of now other than email error. (which I have included in
    image-1a.JPG )

    I also am having problems with ftp accounts as well. (Which I have included in
    image-2a.JPG )
     
    #4 wtgotllc, Jan 19, 2015
    Last edited by a moderator: Jan 19, 2015
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The following thread is useful if you want to change the IP address of your server:

    Change Main IP-Address

    Review this thread to see if you made the correct changes.

    Thank you.
     
  6. wtgotllc

    wtgotllc Member

    Joined:
    Aug 24, 2014
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Apopka, Florida, United States
    cPanel Access Level:
    Root Administrator
    Change Servers Ip

    I recently had to change my servers Ip addresses. So I proceeded to take the following steps which I have listed below; but in this process my mail and ftp are kicking back errors. Mail is not working at all. (Web mail is)

    1.) Edit /etc/sysconfig/network-scripts/ifcfg-eth0
    Change the IPADDR and GATEWAY lines to match the new IP and Gateway for the new ip.
    2.) Edit /etc/sysconfig/network
    Change the GATEWAY line here if it does not exist in the ifcfg-* file.
    3.) Edit /etc/ips
    Remove the new primary IP from this file if it is present
    Add the old primary IP to this file with the format <IP address>:<Net Mask>:<Gateway>
    4.) Edit /var/cpanel/mainip
    Replace the old primary IP with the new primary IP
    5.) Edit /etc/hosts
    Replace the old primary IP with the new one if needed. The hostname's dns will need to be updated too
    6.) Restart the network service to make the new IP the primary
    service network restart
    Note: You're probably going to be disconnected at this point, and have to log in to ssh using the new primary ip.
    7.) Restart the ipaliases script to bring up the additional IPs
    service ipaliases restart
    8.) Run ifconfig and make sure all IPs show up correctly
    9.) Update the cpanel license to the new primary IP
    10.) Verify you can still log in to WHM and there is no license warning
    License Verification - cPanel Inc.
    :confused:
     
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,468
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Multiple threads on same topic by same user, merged here. I think there are a few more, too.

    Please stick to one thread.
     
Loading...

Share This Page