Temporarily hosted my blog on GitHub Pages and pointed my personal domain to the blog. However, every time I configured the Custom domain and accessed it successfully, it would eventually return a 404 error without notice. After some investigation, I found that the Custom domain setting was being reset and becoming invalid after each hexo deploy.