NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

My website isn't working
Started by IllegalMc

IllegalMc

IllegalMc

Member
Joined
09 Apr 2021
Last Seen
10 Apr 2021
Topics
1
Posts
1

Hello, I have a server and I wanted to make it only redirect to https. I already had the website linked to cloud flare but when I turned on the redirect to https feature on the dashboard, the website broke. Please help, idk what to do

x1
IllegalMc · over 3 years ago
CPK

CPK

Community Moderator
Joined
20 Aug 2018
Last Seen
30 Jun 2023
Topics
13
Posts
68
IllegalMinecraft:

Hello, I have a server and I wanted to make it only redirect to https. I already had the website linked to cloud flare but when I turned on the redirect to https feature on the dashboard, the website broke. Please help, idk what to do

Hello,

Try this:

In order to force HTTPS on your v2 website you have to have a valid SSL certificate. To check if your SSL certificate is valid you can go to https://yoursite.com and check if it says "Secure Connection" when clicking on the lock in the url bar.

 

Force HTTPS does not work with Cloudflare "Flexible" SSL, if you do not have a valid SSL certificate on your web host or a vps, then you can force HTTPS with Cloudflare "Flexible" SSL in Cloudflare "Crypto" section.

 

If you do have Cloudflare SSL set to "Flexible" and you have a valid SSL certificate on your web host or a vps, then you have to set your Cloudflare SSL to "Full" in order to use force HTTPS function in NamelessMC.

 

If you get an error after enabling force HTTPS you can disable it by deleting cache/033f3da34ae9ec9661072ab0897ddf7ed642de3f.cache file.


Community Mod (Discord: .cpk)

“We are only as strong as we are united, as weak as we are divided.”

- Albus Dumbledore


 

CPK · over 3 years ago · Last edited: over 3 years ago