Documenting the steps I took to use a self owned domain for GitHub Pages

DNS configuration

  • Create type A records for the IP addresses from GitHub
  • Create CNAME record for GitHub Pages site e.g

GitHub Pages configuration

  • Create a Github Pages repository
  • Go to Repository Settings -> Pages -> Custom domain and add your domain