Make my own domain work with Publish mydomain(dot)com not www(dot)mydomain(dot)com (that should redirect to mydomain(dot)com)
I followed all the instructions. I have received nothing but errors and problems out of Cloudflare and they don’t offer support unless you get a $20 per month account (2.5x the cost of Publish itself).
Cloudflare has a warning indicating a CNAME should not be used for a a root domain (domain(dot)com vs. subdomain(dot)domain(dot)com) but there is no clear alternative option. I don’t want www(dot)domain(dot)com I want domain(dot)com for my default site. CNAME flattening · Cloudflare DNS docs
Is there a mistake in the instructions? help.obsidian.md/Obsidian+Publish/Set+up+a+custom+domain
Others had the exact same problem two years ago and it’s still a problem. Where is the documentation and the solution? Setting up a custom domain for Obsidian Publish is a nightmare. Isn’t this supposed to be easy?
“EDIT: I deleted the CNAME and re-added it, then set my certificate to flexible then changed it back to full and now it works! Spent an hour trying to fix this, and it took all of 10 seconds to fix it. I have no idea what happened though.” @oash
This worked for me too, missed the solution on first read, although I also toggled it “off” before before “flexible”.
After doing that and renabling the page rule as above everything started working within 15-20 minutes. It’s not clear if this is a Cloudflare problem or an Obsidian problem but this turned a 5 minute job into an hours long nightmare.