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.

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:
    619
    Likes Received:
    6
    Trophy Points:
    18
    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
     
    #1 postcd, Nov 17, 2014
    Last edited: Nov 17, 2014
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page