How to Setup a Status Page with Cloudflare?

Creating a status page with a custom CNAME while Cloudflare proxy is enabled may result in an error where the status page is unreachable.

What’s Happening

Cloudflare forces SSL to redirect, which effectively blocks ACME verifications. 

It is possible to observe this error in cURL with output that looks similar to the below:

HTTP/1.1 301 Moved Permanently
Date: Fri, 15 Oct 2021 15:41:31 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Cache-Control: max-age=3600
Expires: Fri, 15 Oct 2021 16:41:31 GMT
Location: https://status.example.com/.well-known/acme-challenge/testing
Report-To: {"endpoints":[{"url":"https:\/\/x.y.cloudflare.com\/report\/v2?s=NUMSTRING"}],"group":"GROUP","max_age":VALUE}
NEL: {"success_fraction":0,"report_to":"VALUE","max_age":604800}
Server: cloudflare
CF-RAY: NUMSTRING-NUMSTRING

Two Solutions

  1. Switch the subdomain to DNS only/disable proxy for the status page as shown in the image below. This is the Uptime.com preferred and recommended solution.
  2. Use a page rule to get around the redirect for the Let's Encrypt verifications on path:
/.well-known/acme-challenge/*

Two examples are depicted below:

hCug9PcWkfe0z5NwqJZ4GUXh5.png

If you encounter any difficulties during setup, please reach out to support@uptime.com

Was this article helpful?
0 out of 0 found this helpful