Run Worker for external domain

Hi, I’ve got a Worker setup for example.com that fetches some data from a B2 bucket. I want to be able to allow any domain to CNAME to example.com and for the Worker to trigger, currently it just freezes and returns the 522 error screen.

I’ve tried setting up SSL for SaaS and adding a custom hostname on there, but when loading the custom hostnames domain I still get 522.

Is what I’m trying to do possible?

Right now, I think not. I found that the new SaaS doesn’t support Page Rules and Workers Routes on an added SaaS domain.

I opened a ticket and heard back that they expect to add this functionality later this quarter.

1 Like