Skip to content

Github forgets about my custom domain every time I update the website #21549

Answered by RyanZim
lucypero asked this question in General
Discussion options

You must be logged in to vote

When you configure the custom domain in the settings, it adds a CNAME file to the pages root. You must be force-pushing when you update your site. If you add a CNAME file containing the custom domain name to your pages root (or pull in the commit GH makes when you set the custom domain in Settings), you shouldn’t have this problem.

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@negative0
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@alpritt
Comment options

Comment options

You must be logged in to vote
1 reply
@akuzni2
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
9 participants