Configuring a custom domain with a GitHub Pages website

With DNS managed by CloudFlare.

  • Create repo and add a README.md
  • Also add the Jekyll file _config.yml and add a single line: theme: jekyll-theme-architect
  • Add the four GitHub IP addresses as A records in CloudFalre, ensure proxy is disabled
  • Also add a CNAME record for www -> website.com
  • In GitHub Settings > Pages, add a domain and configure a TXT record using the key/value
  • In your GitHub repo, select Pages and add custom domain (this will also create a CNAME file in your repo)
  • Finally, tick Enforce HTTPS in your repo settings

results matching ""

    No results matching ""