Configuring subdomain for worker

Hi I am trying to configure a subdomain for one of my worker scripts but unable to figure it out :frowning:

I have a worker like and it works perfectly fine.
I own a domain like and that domain is already configured in Cloudflare.
I want to configure something like to point to the above worker i.e. when a user hits it should invoke
Note: I own both the domain and the worker script, so I have full control, it is just that I am unable to figure out what/how A or CNAME record needs to be configured to make it work.

Thanks in advance for a reply on this. (Screenshot with A or CNAME record will also be much appreciated)

UPDATE: I was able to resolve the issue by using the wrangler CLI

I suggest you add an :orange: “A” record for that subdomain and use a place holder IP address such as

A post was split to a new topic: 522 on site, pls help

Thanks. I was able to resolve my issue by using the wrangler CLI