Set DNS to resolve to worker

I’m trying to set my domain to resolve (to a worker).

www mydomain com works, mydomain com does not.

My A record is mydomain.com set to 192.0.2.1, CNAME record is * set to mydomain.com, worker route is set to .mydomain.com/

Am I missing a setting? Thx

Forum formatting messes up when you use a * too much. It looks like you’re trying to use *.example.com/*.

Unless you’re on an Enterprise plan, using a wildcard in DNS set to :orange: isn’t reliable. It’s supposed to be an Enterprise-only feature, but sometimes the dashboard glitches and allows this.

I suggest you use the actual hostname in DNS, such as ‘www’, and set it to :orange:. Same goes with any other subdomains you want to use for the Worker.

In my case, my worker responds to example.com, and I use a Page Rule to forward *.example.com/* to example.com/$1

In your case, I suppose the Worker Route could be mapped to *.example.com/* as you describe, but wildcard DNS is the snag.

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