Using Cloudflare on a redirected domain


#1

I bought domains through GoDaddy but I use Hostinger to host. So I changed the name servers at Godaddy to point to Hostinger. I signed up to Cloudflare to use the free SSL but I can’t access any of my WP admin pages now. I am getting a “to many redirect” error. How do I fix this? I could not access my WP admin because the domains did not have an SSL so Google gave me the Unsecured website error, now I run through Cloudflare and it gives me a to many redirect error. I really need to work on my sites.


#2

First things first, your nameservers need to point to Cloudflare.


#3

They (the name servers) are all pointed to Cloudflare.


#4

You mentioned you pointed them to Hostinger.

Can you post the domain?


#5

This is what it looks like on Cloudflare
thepeoplesnews.org
tech4life.help
pawcross.com


#6

But you are likely to have a HTTP/HTTPS mixup, that your server requests a HTTPS connection, but your your TLS settings are “Flexible” which makes Cloudflare connect via HTTP, even though visitors actually connect to Cloudflare via HTTPS.


#7

Any suggestions on how to fix it?


#8

thepeoplesnews seems to properly set up DNS-wise. What is your TLS mode? Maybe try setting your TLS mode to “Full strict”.


#9

I can access it by the domain name but not through wp_admin


#10

You dont seem to have a valid certificate on your server, so you’d need to set it to “Full” instead of “strict” (which is slightly less secure) or make sure you have a proper certificate installed.


#11

This is the TLS setting


#12

Sorry, didnt mean the version but the overall TLS mode. The first entry on the crypto page, where it say “SSL”.


#13

Do you mean the SSL mode?


#14

Yep, try setting that to “Full” (and “Full strict” once you fixed your certificate on your server) and Cloudflare should connect via HTTPS to your server, which is likely to fix your redirection loop.


#15

Ok I will try that. Thank you