2020-07-24 - Netlify / Hugo / Hover

Reminder notes on how this was set up

Installing Hugo

Getting latest extended Snap for Hugo

  • snap install hugo
  • sudo snap refresh hugo –channel=extended

Get local copy of repository

git clone https://github.com/markbrinton/mb1.xyz.git

Hugo commands

Hugo commands, new site, add theme, 1st post.

Hover Domain Config

Two DNS A records

  • A * 104.198.14.52
  • A @ 104.198.14.52

That IP is the Netlify load balancer.

https://docs.netlify.com/domains-https/custom-domains/configure-external-dns/

  • Find your DNS provider’s DNS record settings for your apex domain, such as petsofnetlify.com.
  • Add an A record. Depending on your provider, leave the host field empty or enter @.
  • Point the record to Netlify’s load balancer IP address: 104.198.14.52.
  • Save your settings. It may take a full day for the settings to propagate across the global Domain Name System.

Also see:

https://www.netlify.com/blog/2020/03/26/how-to-set-up-netlify-dns-custom-domains-cname-a-records/