Need help with custom hostname api
I am working on a website builder saas platform, like wordpress, everything works great, starting from the r2 buckets to the kv namespaces, where users export their project into a subdomain url, but now I am trying to add a custom hostname feature where users will be able to map their own business domain with the exported subdomain url. So I used cloudflare for saas, cloudflare custom hostname api. It looks fine, the custom hostname status and the certifictate status are all active and green after user verified their domain, but when they visit their domain, it says 404 not found, even though every other thing works great, I am really confused of how to pull this off, as I am working with this for the first time, any comments on this would be really helpful, hope you understand what I am trying to say, if you need any more details, please let me know.




