Groan.

For ages I have been getting these Page build warning emails from GitHub, saying that my custom domain www.finnangelo.com was set up as an A record.
It’s been bugging me, but really hasn’t been a priority. So by following the broken windows theory, lets get this fixed.


Adding a CNAME file to your repository

I had this all set up with the CNAME file in the FinnAgelo.github.io root, but obviously my Next steps: Configuring DNS settings was a bit broken

Gotchas

  1. In my Zone Management pages with my domain provider, I had added 2 A records with the IP Addresses
  2. I found they belonged to that url with the classic ping -a 192.30.252.153 on the cmd line, but I could just as easily have looked up https://help.github.com/articles/tips-for-configuring-an-a-record-with-your-dns-provider/
  3. I deleted them
  4. I tried to add a cname, but my domain provider needs an mx hostname?
  5. And I’m still getting the emails - I might have to wait until the propagation is finished…?

Hah! My DNS recoreds and stuff are actually located at Namecheap, not my domain provider…

  1. Got to namecheap > Login > Menu > Manage Domains > FreeDNS.Hosted Domains
  2. https://www.namecheap.com/support/knowledgebase/article/settingup_hostrecords
  3. Hostname IP Address URL Record Type MX Pref
    @ http://www.finnangelo.com. URL Redirect NA
    www finnangelo.github.io. CNAME (alias) NA

And it updates without sending me the A Record error - fantastic!