Obsidian publish to a custom domain bis repetita

this is not totally a follow up of these kind of threads: Obsidian publish to a custom domain

but I would like to understand.
Why is it that problematic to host your domain elsewhere and put a cname to your infrastructure the “publish-main.obsidian.md” for your proxy to work? Why the proxy inside cloudflare can’t handle that ?
This is a simple redirection and as demonstrated on the same help page, any proxy is able to do it. So why as the blue note stated, it is not working with other provider? Is it not a problem with cloudflare itself?

And also I don’t quite understand the usecase of the proxy on that page?
Did you mean that I can host a proxy on a vps somewhere to do the actual work of the proxy from cloudflare?

Thanks in advance for any help provided

I am sorry but I do not understand what you are trying to say.

It’s not just a matter of CNAME redirect.

If you are asking why Clouldflare only, the answer is: because it automatically provisions a SSL certificate for httpS to work.

Well yes it was my question. more or less

So yeah basically it is because cloudflare then can’t get an ssl certificate for the originating domain instead of the publish.obsidian.md, correct?
and that’s why we need external proxy then ? And that’s the usecase you are giving in the help page, correct?
The proxy being the only thing being hosted externally from publish.obsidian.md?

We do not have a proxy on CloudFlare.

The problem is having a valid SSL certificate for httpS://yourdomain.com to work.
Cloudflare provides a service where it automatically build and provides a certificate.
Alternatively, you provision your own certificate and then proxy each requests to us.

yes that’s what I actually mean, basically they are doing the work of the proxy and the ACME bot altogether.
Okey good that’s the part of explanation I was missing. Maybe it would be good to add it to the help page so basic understanding can be commonly shared with this added to that:
https://webmasters.stackexchange.com/questions/118044/do-i-need-a-certificate-to-redirect-via-cname?newreg=f126a0f0e56541fd86d49e529b3b7d5e
Because I hardly think that every people wanting to do a custom sites because they want to do some blogging with obisidian notes for example would have that basic understanding :slight_smile: but that’s just my 2cents.