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!

Http to https on (all) accounts

Discussion in 'Security' started by kjg, Feb 9, 2017.

Tags:
  1. kjg

    kjg Well-Known Member

    Joined:
    Mar 2, 2004
    Messages:
    154
    Likes Received:
    3
    Trophy Points:
    168
    Maybe I have missed it somewhere, but how can we handle http to https redirect for the accounts in WHM.

    I know we can do it via changing .htaccess for each account, but with thousands of accounts this is not really an option, and htaccess files tend to be updated for accounts using CMS

    Force SSL in WHM -> Server Configuration -> Tweak settings have nothing to do with this as I understand it. It is only for cpanel, webmail etc.

    Are there any other setting forcing all accounts to https? Preferrable setting all accounts to https and being able to set per account so we can do exceptions for the sites that do not work with https.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. kjg

    kjg Well-Known Member

    Joined:
    Mar 2, 2004
    Messages:
    154
    Likes Received:
    3
    Trophy Points:
    168
    Thank you cPanelMichael.
    I was looking for using .htaccess in some way, but this solution is much better and easier.
     
    cPanelMichael likes this.
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