SSL breaks after attaching a custom domain

A practical fix and a copyable AI coding prompt. Replace bracketed placeholders with your project details.

1. Check the problem

Usually just DNS propagation, wait an hour and recheck. If still broken: verify the CNAME or A record matches your host's exact target, remove and re-add the domain, and rule out Cloudflare's proxy serving its own cert.

2. Use the prompt

SSL is broken after I attached a custom domain on [Vercel/Netlify]: [paste the error]. Walk me through the checks in order: DNS propagation wait, verifying the CNAME or A record matches the host's exact target, removing and re-adding the domain, and ruling out a Cloudflare proxy serving its own cert.

3. Verify the fix

Review the proposed diff, run the relevant checks and exercise the original failing flow before merging.

Continue in the related workflow chapter.