Fly.io Certificate Not Issuing or Custom Domain Not Working

Share
Ongoing Fly.io Updated November 14, 2026Based on 2 user reportsHow we research

Quick answer

Check DNS with fly certs check. Use A/AAAA or a single CNAME (not both), and add a _fly-ownership TXT record if you are behind Cloudflare proxy.

Most likely fix: Check and fix DNS

How to fix it

Try these in order — the most common fix is first.

  1. 1. Check and fix DNS

    1. Run fly certs add example.com, then fly certs setup example.com
    2. Run fly certs check example.com
    3. Use either A and AAAA, or one CNAME for subdomains
    Did this fix it?
  2. 2. Behind Cloudflare

    1. Add a _fly-ownership TXT record
    2. Set SSL mode to Full or Full (strict); Flexible causes redirect loops
    3. If HTTP-01 stays blocked, use fly certs import with a Cloudflare Origin Certificate
    Did this fix it?
  3. 3. If you hit rate limits

    1. Wait for the Let's Encrypt window to pass; Fly cannot reset it
    Did this fix it?

Symptoms

fly certs show reports pending, the cert never issues, or the domain loops with redirects behind Cloudflare.

Why it happens

  • Mixed CNAME and A/AAAA records
  • Missing AAAA, _acme-challenge CNAME or _fly-ownership TXT record
  • Let's Encrypt rate limits (50 certs per domain per week, 5 failed validations per hostname per hour)
  • Cloudflare orange cloud with Flexible SSL

This guide also covers

  • fly.io certificate pending
  • fly certs check
  • fly.io custom domain not working
  • fly.io cloudflare 520

Still not working?

If Fly.io keeps failing, you're not alone. See every Fly.io problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

Other Fly.io errors