Worker doesn't get triggered on Routes, but works on Custom Domain
Hey!
I've been trying to solve this issue with a worker not being triggered when being added to a route (i.e. www.example.com or hello.example.com), but it is being triggered on a custom subdomain. In the attached screenshots, you can hopefully see all the relevant info.
As expected, the trigger on
workers.dev
subdomain works, but nothing works on example.com
. Also, the test.example.com
custom domain works as expected.
Could you please let me know what I'm doing wrong?
Thanks a lot!1 Reply
Hi, custom domains create their own DNS records. Do you have a record set up for your apex,
example.com
?