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!

WHM redirect IP to hostname disable

Discussion in 'General Discussion' started by postcd, Nov 17, 2014.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    694
    Likes Received:
    15
    Trophy Points:
    68
    Hello,

    i think WHM installation is finished and when i access my server via its IP:

    http://x.x.x.x:2087

    im redirected to:

    https://host.company.com:2087/

    it works only when access IP via httpS

    please how to disable this hostname redirect (i dont have access to WHM panel , just SSH access)

    Thank you
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 postcd, Nov 17, 2014
    Last edited: Nov 17, 2014
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    You could manually modify the following entries in /var/cpanel/cpanel.config and then restart cPanel:

    alwaysredirecttossl=0
    cpredirectssl=SSL Certificate Name
    requiressl=1


    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