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.

Revealing server IP address from cPanel

Discussion in 'Security' started by MrVon, Nov 4, 2011.

  1. MrVon

    MrVon Member

    Joined:
    Nov 3, 2011
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    My server has 3 dedicated ip addresses one i use for WHM other for account i have created.

    When i go to that account's url: site.com/cpanel
    It is saying
    You have asked Firefox to connect
    securely to ip-111-222-347-152.ip.secureserver.net:2083, but we can't confirm that your connection is secure.

    It is not even an issue that its saying that, the problem is its saying ip address of my main server, is there way i can hide this ip and use that account ip instead?
     
  2. storminternet

    storminternet Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    462
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello,

    Are you trying to access cPanel at non secure http port 80 or at secure port 443 ?
    Please try with https if you are trying to access cPanel at http. You can also use secure port 2083 and 2087
    for cPanel and WHM respectively.
     
  3. MrAndreas

    MrAndreas Member

    Joined:
    Oct 31, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Its not for me, i don't want hacker to see ip address of server when he goes to my site that on other dedicated ip address than server and try /cpanel on different ports and types of connection.
    If theres nothing i can do can i just disable cpanel (not whm) at all or at least keep it for 1 ip address.
     
  4. tank

    tank Well-Known Member

    Joined:
    Apr 12, 2011
    Messages:
    236
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chicago, IL
    cPanel Access Level:
    Root Administrator
    Honestly it is because you don't have a valid SSL certificate, like through trustwave. I trusted SSL certificate is a better way to say that. However they both are secure but one is recognized and the other is your server signature.
     
  5. MrVon

    MrVon Member

    Joined:
    Nov 3, 2011
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I actually do have certificate for that site, its when i go to HTTPS it works but when i type http://site.com:2083 it does not use that certificate i have installed it offers ssl connection to https://ip-111-222-347-152.ip.secureserver.net:2083 instead, is there way to fix e.g. with .htaccess to just rewrite http:// to https:// for cpanel.

    Also i want to disable access to WHM by typing site.com:2087 because its dedicated ip and server has its own ip address i dont want hacker to see the address of my server from the account
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Seeing the IP is not a security risk. Have you double checked your Redirection settings in WHM?

    WHM > Server Configuration > Tweak Settings, Redirection tab.
     
  7. MrVon

    MrVon Member

    Joined:
    Nov 3, 2011
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    After i changed settings you mentioned the url shown after going to _https://site.com/cpanel is _https://site.com:2083/ it still uses certificate from _https://ip-111-222-347-152.ip.secureserver.net:2083.

    P.S. I have installed SSL for that domain and want to use it for cpanel as well.
     
    #7 MrVon, Nov 8, 2011
    Last edited: Nov 8, 2011
  8. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  9. MrVon

    MrVon Member

    Joined:
    Nov 3, 2011
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    How can i disable http://site.com/whm for accounts that not on the main server ip address? e.g. ones with dedicated ip's, only want to enable /whm and/or port from main server ip address or disable.
     
  10. storminternet

    storminternet Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    462
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    You will require to configure the rules in iptables to block the specific IPs to access cPanel/WHM. Your host will do this job for you.
     
  11. MrVon

    MrVon Member

    Joined:
    Nov 3, 2011
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I am the host its dedicated server i have, but i mean its cool to have message access forbidden, but i mean can i just remove the page somehow like it was never there i dont want hacker to even know i have cpanel installed
     
  12. aminakis

    aminakis Registered

    Joined:
    Nov 16, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    it works!! thanks for help
     
Loading...

Share This Page