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!

Can't access cpanel/whm hostname and IP was changed

Discussion in 'General Discussion' started by shojib, Jul 12, 2014.

  1. shojib

    shojib Active Member

    Joined:
    Mar 31, 2014
    Messages:
    28
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Sylhet, Bangladesh
    cPanel Access Level:
    Root Administrator
    Hi ,
    I got an abuse report recently and my IP was nullrouted .
    And that's why I told my VPS provider to set up a new IP for my VPS .
    Here are some problems I am getting :

    1. I have setup SSL redirect to the hostname when user try to access cpanel like this: domain.com/cpanel -> https://server1.mydomain.com:2083 . And my hostname was changed to vps5597.vpsprovider.com.
    So I have executed this command to change hostname back to how it was .
    The command is: hostname server1.mydomain.com .
    And I have changed main ip from /var/cpanel/mainip and /etc/hosts and restarted network and ipaliases and
    cpanel services . but still getting redirected to https://vps5597.vpsprovider.com:2083 which is not valid.

    2. I have setup the DNS as like this :
    ns1.mydomain.com > NewIP
    ns2.mydomain.com > NewIP
    But the domains still not pointing to new IP , I have run a DNS check and still not having new I address .
    First I thought that its maybe domain provider who did not updated IP yet or the cpanel is refusing this .

    And this is all the problems I am getting right now .
    Please help me someone to restore the hostname or stop the hostname ssl redirection in order to access my WHM.
    Thanks in advance .
    Regards,
    Shahriar
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,680
    Likes Received:
    71
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    clear your browser cache

    or go to
    https:/yourip:2083
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Please ensure you update the hostname via:

    "WHM Home » Networking Setup » Change Hostname"

    Also, if the IP address has changed, ensure you use:

    "WHM Home » IP Functions » IP Migration Wizard"

    Then, make sure the SSL certificate name is updated via:

    "WHM Home » Service Configuration » Manage Service SSL Certificates"

    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