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 - Prodblems - UNIQUE

Discussion in 'General Discussion' started by TDAndy, Jan 2, 2018.

  1. TDAndy

    TDAndy Member

    Joined:
    Apr 5, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Mangalore, India
    cPanel Access Level:
    Website Owner
    Hello

    i am facing an unique problem

    i have 70 domains on my cPanel server, easyapache4 with xvarnish around 20 of them have STRICT http to https redirection

    we are using Let's Encrypt SSL

    but the remaining dont have STRICT redirect for some reason,

    same server same configuration, i have tried wordpress, html, php all kinds of website but the issue is the same.

    50 domains have this issue

    DOMAINNAME -> http://DOMAINNAME - but no strict redirection to HTTPS

    http://DOMAINNAME -> http://DOMAINNAME - but no strict redirection to HTTPS

    https://DOMAINNAME -> https://DOMAINNAME - HTTPS is fully secure no issues

    for 20 domains it is working perfect

    DOMAINNAME OR https://DOMAINNAME OR http://DOMAINNAME -> https://DOMAINNAME - all of them get redirected to HTTPS no matter what PERFECT

    if it was not working for all i can understand but it is working fine for some, this includes domain and subdomains as well, also different TLDS not the same

    can anyone help me with this

    Regards
    Andy
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you verify how you have configured the forced SSL redirection? Also, are you able to confirm the issue persists when you temporarily disable the custom Varnish configuration (it's unsupported) and use Apache only?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. TDAndy

    TDAndy Member

    Joined:
    Apr 5, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Mangalore, India
    cPanel Access Level:
    Website Owner

    i can confirm we have disabled the xvarnish and the issue is the same no difference,

    Can you verify how you have configured the forced SSL redirection? - where and how do i get this INFO so that i can share
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    For instance, this is not a default configuration. What steps did you take to enable HTTP to HTTPS redirection? Did you make custom rules in the .htaccess files?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. TDAndy

    TDAndy Member

    Joined:
    Apr 5, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Mangalore, India
    cPanel Access Level:
    Website Owner
    Hi

    no .htaccess Rules, just used AutoSSL to install Lets Encrypt for all the domains and sub-domains

    20 of them are working great but remaining are having issues like i mentioned before, do i need to configure something else, since 20 of them were working fine i did not try anything else
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    To clarify, is the issue that some domain names do not have valid SSL certificates installed? If so, you can browse to the "Logs" tab in "WHM >> Manage AutoSSL" and view the most recent log file for an affected account to see why AutoSSL was unable to install the certificate.

    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