Website bouncing to https from http

http://millionaire.page is bouncing to https://millionaire.page for an unknown reason.

Here is the error message when i put it into a browser:
Secure Connection Failed

An error occurred during a connection to millionaire.page. Peer reports it experienced an internal error.

Error code: SSL_ERROR_INTERNAL_ERROR_ALERT

The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.

All is ok at the registrar (namecheap), where i am using “custom dns” and ns1.epizy.com and ns2.epizy.com servers, and here, i am not using SSL, so for some reason it is bouncing to https

Make sure the htaccess doesn’t have anything overwriting that may cause the problem.

Off
cURL Enabled
Fsocket functions Enabled
Register globals Off
PHP version 7.0

thank you! These are my settings for php;

## PHP Setting
Safe mode Off
cURL Enabled
Fsocket functions Enabled
Register globals Off
PHP version 7.0

Mod_rewrite & .htaccess Enabled
Ioncube & Zend Enabled
GD Library Enabled
ImageMagik Off
Phpinfo() View your phpinfo()

it says above htaccess is enabled. Is that ok?

Can we check your htaccess?

here it is

##################################################
#
# DO NOT EDIT THIS FILE DIRECTLY
#
# Create a new .htaccess file in your htdocs
# directory (or example.com/htdocs/ directory)
# to add your own rules or override these rules.
#
##################################################


DirectoryIndex index.php index.html index.htm index2.html

ErrorDocument 400 https://infinityfree.net/errors/400/
ErrorDocument 401 https://infinityfree.net/errors/401/
ErrorDocument 403 https://infinityfree.net/errors/403/
ErrorDocument 404 https://infinityfree.net/errors/404/
ErrorDocument 500 https://infinityfree.net/errors/500/
ErrorDocument 503 https://infinityfree.net/errors/503/

Have you connected your website to cloudflare???

no. ssl is not setup at all. For some reason everthing’s being bounced to ssl .

I got it working! I used a different browser to access it. I installed wordpress first then tried it!
It was a caching problem!!! Although, in the browser i see this in the title bar: http://millionaire.page/?i=1

According to this article this is the meaning for that Why do I see ?i=1 at the end of a URL - Docs - InfinityFree Forum
… so i guess all is ok! Thanks for your suggestions above! :smiley:

The reason your domain is being forced to HTTPS is because the .page extension is on the HSTS Preload List. This means that all domains with the .page extension MUST be accessed over HTTPS. The domain extension simply does not allow HTTP.

But it should be noted that HSTS should be enforced by the browser. If you have a browser which doesn’t check HSTS, then you will be able to access the domain.

But if you want the domain name to be accessed through modern browsers, you’ll need to setup an SSL certificate on your domain or use a different domain extension.

2 Likes

This is the main htaccess file, not the domain htaccess file.
(Just for information)

And I am glad that your problem was solved.

Yes that makes perfect sense thank you!, as I can only access the http version of the website using falkon (linux browser), but cannot access it with firefox or chrome.

i just found a great video that explains step by step how to setup a free SSL certificate on infinityfree. I’m going to try it now.

1 Like

oh thank you, then i guess i did not find the domain htaccess file…

I guess the problem is not solved based on what admin replied (above)
(i knew ssl wouldn’t be straightforward)

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.