Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

Github pages drops custom domain

Solved! Go to Solution.


Sometime back, we set up a custom domain for our blog:, which should now be served at At least twice in the past two weeks, though, has given us 404s and when I've checked the settings, the custom domain is no longer set there. When I re-enter and save the setting, it begins to work again (I just set it again and it works now).

Would someone have an idea why this would happen?


1 Reply
Copilot Lvl 2
Message 2 of 2

Re: Github pages drops custom domain

Fixed: I was using `ghp-import` to push the generated bits, and it was removing the CNAME file each time. Using the `-c` option to set the correct CNAME fixes it.