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.

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

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

  1. shojib

    shojib Member

    Joined:
    Mar 31, 2014
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    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,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    clear your browser cache

    or go to
    https:/yourip:2083
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    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.
     
Loading...

Share This Page