Set up GoDaddy custom domain for Github Pages
At some point I decided to transfer my domain from ASPHostPortal to GoDaddy. After unlocking the domain, it took just a couple of minutes to initiate the move and about a week until the transfer was complete. I learned about the fact of completion when the site stopped working :)
In case new site is being set up, a CNAME file with your custom domain name needs to be added to the repository before configuring DNS in GoDaddy.
GitHub then asks to add a couple of A records and a CNAME with your DNS provider
which is GoDaddy here, “DNS Management” page.
Curent IPs can be copied from “Setting up an apex domain” or here are the ones I used:
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153
It might take some time until chages propagate, for instance GitHub articles note that “Your DNS changes can take over a full day to update and the wait varies among DNS providers.”. In my case everything started working after about five minutes.
In addition, there was no reason not to enable HTTPS, simple checkbox toggle did the trick (located in your GitHub site repository settings).
That’s it!
Here is GitHub article I used - “Quick start: Setting up a custom domain”. It references related topics if you need dive deeply.