Jump to content

[Solved] Unable to setup Ghost


ernestd3

Recommended Posts

Although I am not a programmer so I followed up this link https://wiki.helionet.org/Installing_Ghost_CMS

And i thought it is perfectly configured but it's been more than 2hrs since I finished setup.

Can the the administrators look it up for me to see if there is error  in my setup?

Note: my domain is http://akilis.cf

My CPanel user: ernestd3

 

Thanks

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

 

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

Link to comment
Share on other sites

 

 

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...