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.

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:
    152
    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:
    37,167
    Likes Received:
    1,295
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. kjg

    kjg Well-Known Member

    Joined:
    Mar 2, 2004
    Messages:
    152
    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