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

- Add a CNAMEfile in thesourcefolder of the project, and fill in your domain address in the file. Note that this should be thesourcefolder where resources are stored, not thesourcefolder under the theme. Additionally, theCNAMEfile has no file extension. 
- After redeploying, there is no need to manually modify the configuration again. ogImage: https://image.coldcoding.top/file/AgACAgQAAyEGAASUgNIDAAOdZ-LLW2SY1yk2VuSGbtbqq3iEFT4AAgPGMRuknBlTlzRoYu-UvNoBAAMCAAN3AAM2BA.jpg