522 Error Code when using Worker.dev a CNAME proxy

I have a deployed worker.dev website where my website is currently being hosted through a CNAME proxy in my websites DNS. I have begun to have a 522 error, and cannot find anything that would cause the issue. The worker.dev website is perfectly fine, up, and running when accessed through its dashboard link, but gives a 522 error when going through the domain. Any and all help would be appreciated!

You can’t CNAME to a workers.dev subdomain.

If that is the case, what should I use? It was my understanding you use a CNAME for it.

You need to have your domain on Cloudflare, you would then create a route from the UI or from Wrangler.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.