Greetings,
Thank you for asking.
A DNS record (hostname) should be pointed to your origin host/server IP.
Creating a cloudflared
tunnel has an option to add a CNAME record automatically:
Otherwise, manually adding a CNAME:
Hm, might be because a DNS record is missing, otherwise a firewall is blocking Cloudflare IPs, or could be the SSL issue as well
Before moving to Cloudflare, was your Website working over HTTPS connection?
May I ask what kind of suggestions for troubleshooting have you tried so far regarding the 522 error from the article below?