CloudFlare Error 1000 and the .htaccess to force HTTPS

0

People, I think I'm having a problem setting up my .htacess and SSL.

See what I set up in .htaccess:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

When I activated CloudFlare for my site, I experienced this error:

Error 1000: DNS points to prohibited IP

And they say that about this error:

  

DNS points to a prohibited IP

     

You've requested a page on a website that is on the   Cloudflare network. Unfortunately, it is resolving to an IP address   that is creating a conflict within Cloudflare's system.

     

If you are the owner of this website, you should login to Cloudflare   and change the DNS A records for to resolve to a   different IP address.

The problem may occur if any of the following conditions are true:

The IP address Cloudflare is pointing to is incorrect.
Pointing your service to another proxy in your zone file. Because Cloudflare is also a reverse proxy, enabling our proxy on a record may create a cyclic loop.
The request includes an X-Forwarded-For header over 100 characters in length
Cloudflare detects a cyclic loop - e.g. Cloudflare proxying back to Cloudflare. This is detected when your origin responds with a "cf-ray" header.

From what I read, honestly, because my system redirects, causes a LOOP and gives that error there. Well, I'm lazy about it and I do not know if I'm right.

You believe that because I'm forcing HTTPS in .htacess, and using CloudFlare with SSL Full mode, can this be happening?

I've never had a problem with CloudFlare; (

    
asked by anonymous 26.04.2018 / 19:58

0 answers