SSL and vHost relationship — CyberPanel - WebHosting Control Panel for OpenLiteSpeed

SSL and vHost relationship

I public path change on vHost file. I try to get SSL after changing the path. Cannot get the SSL certificate. Path change on vHost does not include SSL. But if I restore it; SSL is successfully received. I synchronize the site root folder to the "Laravel public" folder. This is necessary for me. How do I do this radical change with SSL ? The only problem is requesting SSL after vHost path change.


  • Does anyone know about this ?
  • you add a virtualhost context for .well-known from litspeed admin panel or via directly editing the virtualhost conf which should look like

    context /.well-known {
    location $VH_ROOT/public_html/.well-known/
    allowBrowse 1
    enableExpires 1

    rewrite {

    addDefaultCharset off

    phpIniOverride {


    so this will specifically check the SSL verification from public_html/.well-known/acme-challenge/ even if you change the document root for the site .
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion