Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Change Main IP address of server

Discussion in 'Bind/DNS/Nameserver' started by Anas Iqbal Khan, Dec 7, 2015.

  1. Anas Iqbal Khan

    Anas Iqbal Khan Registered

    Joined:
    Dec 7, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pakistan
    cPanel Access Level:
    Root Administrator
    Hello, I am changing the main IP address of VPS. I have GoDaddy VPS, the IPS are as below

    97.74.xxx.xxx (primary)
    45.40.xxx.xxx

    I want to set
    45.40.xxx.xxx

    as my main/default IP address of VPS. I have found this helpful tutorial

    Changing the main server IP and sites on server will not load

    When I enter this: /etc/sysconfig/network-scripts/ifcfg-eth0

    I have found these settings

    i.imgur.com/W04IF1k.png

    I just want to know what I have written in Gateway option
     
    #1 Anas Iqbal Khan, Dec 7, 2015
    Last edited by a moderator: Dec 7, 2015
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,777
    Likes Received:
    93
    Trophy Points:
    353
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    that a question you should be asking GD
    No one here will know what the gateway is for 45.40.xxx.xxx
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    I advise consulting with your hosting provider for assistance because entering the wrong values may result in your server failing to respond.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice