Jump to content

Recommended Posts

Posted (edited)

I am trying make ssl valid but it instead  returns CPanel index page. Please check the link https://akilis.cf again.

Could you please help me figure what I wrong?

Edited by ernestd3
Posted

I am trying make ssl valid but it instead returns CPanel index page. Please check the link https://akilis.cf again.

Could you please help me figure what I wrong?

What do you mean by that? It’s already valid and you’re on Tommy which is do have an automatic SSL Certificate feature.

Posted

 

I am trying make ssl valid but it instead returns CPanel index page. Please check the link https://akilis.cf again.

Could you please help me figure what I wrong?

What do you mean by that? It’s already valid and you’re on Tommy which is do have an automatic SSL Certificate feature.

 

What I mean is that SSL is now valid but website frontend and backend disappeared  as if there is no script in the ghost directory

Posted

 

 

I am trying make ssl valid but it instead returns CPanel index page. Please check the link https://akilis.cf again.

Could you please help me figure what I wrong?

What do you mean by that? It’s already valid and you’re on Tommy which is do have an automatic SSL Certificate feature.
What I mean is that SSL is now valid but website frontend and backend disappeared as if there is no script in the ghost directory

Ah I think you talking about this domain ernestd3.heliohost.org that isn’t forcing it using https.

 

Add this code inside the .htaccess file if you don’t have one yet.

 

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  • Like 1
Posted

Normally when you do the Register Application step it creates two files. One for http and one for https. When I checked your account the https one was missing, so that's why it worked over http, but not https. To fix it I copied the http setting over to the https virtualhost and restarted apache.

 

The reason I think it happened is you probably added that domain, and then quickly registered the application prior to autossl running and setting up ssl for that domain. Since the https virtualhost didn't exist at the time register application couldn't create both records like it normally does. To fix it yourself you probably could have just ran the register application step of the guide again, and waited two hours for apache to restart. To prevent it from happening in the future, just make sure ssl is working before you register the application.

  • Like 1
Posted

Normally when you do the Register Application step it creates two files. One for http and one for https. When I checked your account the https one was missing, so that's why it worked over http, but not https. To fix it I copied the http setting over to the https virtualhost and restarted apache.

 

The reason I think it happened is you probably added that domain, and then quickly registered the application prior to autossl running and setting up ssl for that domain. Since the https virtualhost didn't exist at the time register application couldn't create both records like it normally does. To fix it yourself you probably could have just ran the register application step of the guide again, and waited two hours for apache to restart. To prevent it from happening in the future, just make sure ssl is working before you register the application.

All what you said is noted. Gratitude for the knowledge

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...