Jump to content

Recommended Posts

Posted
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@devesh.heliohost.org to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

--------------------------------------------------------------------------------

 

I tried to install free SSL certificate and getting this error message.

I removed SSL Certificate but still getting the same error while opening my subdomain i.e. devesh.heliohost.org

 

 
 
 

 

Posted

Your website is on Tommy. You don't need to manually install SSL certificate since AutoSSL will do that for you.

Your website works now (with SSL). https://devesh.heliohost.org

Note that it won't redirect you to HTTPS if you try to access it from HTTP. You need to add some code to your .htaccess file in order to achieve that.

EDIT: The SSL stopped working. Most likely because he removed it.

Posted

Note that it won't redirect you to HTTPS if you try to access it from HTTP. You need to add some code to your .htaccess file in order to achieve that.

And here goes the code:

 

(Assuming you have existing code in .htaccess file)

 

RewriteEngine On

RewriteCond %{SERVER_PORT} 80

RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]

 

And if you don't have (that is you are creating a new file) then:

 

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteCond %{SERVER_PORT} 80

RewriteRule ^(.*)$ https://yourdomain.com/$1 [R,L]

</IfModule>

Posted

@sohamb03: Doing that will break AutoSSL because it won't be able to renew when the cert expires. It either needs an exception added for .well-known, or he add a redirect in index.php instead of using .htaccess.

Posted (edited)

I tried to reset everything that i made wrong but now getting another error

Don't know what to do now???

 

domain -

devesh.heliohost.org 

Edited by devesh
Posted

That meta tag will cause an infinite loop.

 

The PHP method is what I use. :) It's a nice choice because it lets you still access other files on the server over plain http if necessary without adding a bunch of exceptions for them, but the average joe visiting your site will still be given an https connection.

Posted

@wolstech: Really hard to integrate if you use a CMS though.

 

@sohamb03: It redirects to the same page. The meta tag will still function even if the URL is in HTTPS. That will cause an infinite loop.

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...