Having issues getting DNS configured properly for a static website I am trying to host on Worker Sites. I have no problem viewing the site on workers.dev but I am getting a 522 when connecting to the custom domain.
After reading some articles - here is the current configuration:
Any suggestions would be much appreciated!
Hey @benjamin.mark.adam – if you’re using Workers Sites, you should be serving requests from Cloudflare’s edge servers, so it shouldn’t even be continuing to your origin (thus, you shouldn’t see a 522). Did you deploy your site using Wrangler?
Ok it took me a while - but I finally figured it out … I needed to add the proper wildcard selector for my worker Route *example.com/*
… @signalnerve might be worth adding some info to the Worker Sites doc on this ?