When I put this blog together, I ran into an issue when I applied my own domain. The fix was pretty simple, but took some figuring, so I figured I should share it. Special shout out to Spaceninja who had a very similar issue and whose post helped me sort out mine.

I have had my email with Protonmail for a very long time and a custom domain for about a year. So, imagine my surprise when the day after I set up the custom domain here I start getting urgent notifications that my email domain is no longer working.

So, when you set up a custom domain with Ghost, you add a CNAME record to your DNS to point at your blog at blogname.ghost.io. Likewise, when you add a custom domain to a Protonmail account you add CNAME entries to blahblah.proton.ch. Well, it turns out that you can't have multiple CNAME records pointing to different root domains. If you do, then only the first one is recognized and everything else is ignored. Oops.

The fix for this is pretty simple. Just change one of your CNAME records to an ALIAS record. Eliminates the conflict and everything just works. Again, for a lot more detail about the how's and why's of this I recommend Spaceninja's post.

My only annoyance with this whole situation is that I had to figure it out myself, which is certainly not a bad thing. Seems like it would be a common enough issue that maybe Ghost or Proton could warn users in the custom domain directions. But, all it well now.

Fixing Protonmail and Ghost Custom Domains

TL;DR: It's always DNS.