3 ms·
Fixed! Pages drops the custom domain whenever I push right now, have been putting off debugging it - apologies
by ramimac 1y ago
Fixed! Pages drops the custom domain whenever I push right now, have been putting off debugging it - apologies
- justusthane 1y agoIf I understand the issue correctly, you just need a file called CNAME in the root of your repo containing your custom domain, like this: https://github.com/justusthane/justusthane.github.io/blob/master/CNAME https://github.com/justusthane/justusthane.github.io/blob/ma...
- ramimac 1y agoThanks! Unfortunately, I've somehow fallen off the paved road :) https://github.com/ramimac/wiki/blob/main/CNAME https://github.com/ramimac/wiki/blob/main/CNAME
- justusthane 1y agoGH Pages is particular about how your apex and www records are set up. I believe you need apex A records pointing to 185.199.108.153 185.199.109.153 185.199.110.153 185.199.111.153 which you already have. Your CNAME record at www.rami.wiki needs to point to "ramimac.github.io/wiki", and your CNAME file in the root of your repo needs to contain "www.rami.wiki" (www is necessary). At this point, https://rami.wiki https://rami.wiki should automatically redirect to https://www.rami.wiki https://www.rami.wiki. At least, that's more or less how mine is set up and it works for me :) I had the same issue as you until I got that all straightened out.