OK, I have sites with just a landing page on them and they are setup with Let's Encrypt certs.
If I type https://suspect.site.com ---> works fine
If I type http://suspect.site.com ----? Fails to redirect to the https and gives me a "This site cannot be reached" error.
Here is the .htaccess I am trying to use and never recall it being an issue before...
Am I missing something simple? Everything as far as virtual hosts and stuff in Sentora is set up right. This is something I never noticed as my browser was used to changing the address to https: without the redirect even due to address caching. I am stumped. Any ideas? BTW, the sites are live in Sentora, not parked or anything. And there is a single "index.html" file with the .htaccess file in each site's root folder.
If I type https://suspect.site.com ---> works fine
If I type http://suspect.site.com ----? Fails to redirect to the https and gives me a "This site cannot be reached" error.
Here is the .htaccess I am trying to use and never recall it being an issue before...
Code:
RewriteEngine On
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
Am I missing something simple? Everything as far as virtual hosts and stuff in Sentora is set up right. This is something I never noticed as my browser was used to changing the address to https: without the redirect even due to address caching. I am stumped. Any ideas? BTW, the sites are live in Sentora, not parked or anything. And there is a single "index.html" file with the .htaccess file in each site's root folder.
Everyone makes mistakes, but to truly screw up it takes the root password!