I have created a worker for my website but it is not working in all cases. The DNS I have set contains 2 4 A records (www, exampleDomain.com, mail and host42) www and exampleDomain.com both point to the same IP.
The worker when tested works, and it works when on the browser when I have the route of example.com/ using https//:www.exampleDomain.com in the browser. If I enter exampleDomain.com in the browser the worker does not run. I don’t have any page rules setup.
Any ideas on what I’ve done wrong?