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.

How to change the main IP on a server

Discussion in 'General Discussion' started by mark1hos, Dec 25, 2006.

  1. mark1hos

    mark1hos Active Member

    Joined:
    Jun 18, 2003
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Somerset, UK
    We have recently obtained our own block of IP addresses and want to change one of our existing servers to use our new IP addresses. Just wondering how we go about updating our server?
     
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    Add the ip to your server
    whm > Ip functions > add new ip address

    Once it is available you can then change the main share IP in the basic cpanel/whm setup.

    If you want to bring in more than one address, use the ip migration wizard.
     
  3. mark1hos

    mark1hos Active Member

    Joined:
    Jun 18, 2003
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Somerset, UK
    Okay, but how do we get rid of the old IP address?
     
  4. mark1hos

    mark1hos Active Member

    Joined:
    Jun 18, 2003
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Somerset, UK
    I hope I am making myself clear :) Whilst we have managed to change the Main IP of the server, the old is still 'undeletable in the delete IP section in WHM.
     
  5. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
  6. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    asuming your running on eth0 (most servers are )
    nano /etc/sysconfig/network-scripts/ifcfg-eth0

    change your old ip for the new

    service network restart
     
  7. carlosferns2004

    carlosferns2004 Active Member

    Joined:
    May 5, 2005
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    india
    Hi

    Hello


    You cant delete old ip that is main ip from cpanel



    Regards
    Carlos
     
Loading...

Share This Page