Custom domain should trigger worker path

Hey guys! I have a specific requirement which I couldn’t find anywhere in the web or perhaps I missed it even if it is in front of me but here it goes.

I have a custom domain, say I have a worker hosted and a custom path in it, say My requirement is whenever someone goes to my custom domain, it has to trigger the worker at the said URL and return that webpage.

Any comment/help would be great. Cheers!