Troubleshooting Cloudflare Issues
Cloudflare is a reverse proxy service that can help to secure and speed-up your sites. While SpinupWP is fully compatible with Cloudflare, there are a few Cloudflare settings that can cause problems. This doc aims to outline those problems.
Too Many Redirects
If you’re receiving the
ERR_TOO_MANY_REDIRECTS error when accessing your HTTPS enabled site that is being proxied through Cloudflare, it’s likely that you have SSL set to Flexible. This should be set to Full (strict), which will ensure connections to your site are fully encrypted end-to-end.
The SSL setting can be found under the SSL/TLS tab.
Unable to Verify DNS
When deploying a HTTPS site via SpinupWP, we first verify that DNS is correctly configured so that a Let’s Encrypt certificate can be generated. To verify DNS, we place a file on your server and check that it’s accessible via the site’s domain name. This allows us to verify DNS, even when you’re using Cloudflare’s proxy services, which hides your server’s IP address.
For this check to succeed, your domain name must be reachable over a standard HTTP connection (port 80). If you have Always Use HTTPS enabled, this will cause DNS verification to fail. We recommend that you disable this setting, as SpinupWP will automatically configure HTTP to HTTPS redirects for you once your site has been deployed.
The Always Use HTTPS setting can be found under the SSL/TLS > Edge Certificates tab.