Show worker page on going to custom domain
Hey guys,
I have a worker at https://test.workers.dev/page. I also have a custom domain https://domain.com. Whenever I hit the custom domain URL, I need to show the content of the worker page mentioned above. The case is I don't want to add domain to cloudflare but I can add any CNAME or some other records into my registrar where I bought the custom domain.
Any solutions for the above situation?
Website Domain Names, Online Stores & Hosting
Finding the perfect website domain is as easy as 1-2-3. Buy a domain name, build and host a website, and enjoy our professional online marketing tools.
5 Replies
Looks like no, at the moment:
Currently, only domains active on Cloudflare are supported.Unless you have a different custom domain to deploy onto, that you can then CNAME to.
I have a custom domain https://domain2.com which is in cloudflare added as a trigger to the worker https://test.workers.dev. What can I do with it?
Cloudflare for SaaS · Cloudflare for Platforms docs
Cloudflare for SaaS allows you to extend the security and performance benefits of Cloudflare’s network to your customers via their own custom or …
Note though that your DNS provider needs to support ANAMEs/CNAME flattening if you want it on the root.
I'll check it out, thanks!