Custom Domain Setup

Use this once the final public domain is chosen. The current site can remain on GitHub Pages while the custom domain is configured.

  1. Buy a domain.
  2. Decide the canonical host:
  3. Configure DNS for GitHub Pages or Cloudflare Pages.
  4. Update _config.yml:

    url: "https://www.example.com"
    baseurl: ""
    
  5. If using GitHub Pages, add a CNAME file containing the chosen domain:

    www.example.com
    
  6. Enable HTTPS.
  7. Verify the domain in Google Search Console.
  8. Submit /sitemap.xml.
  9. Test these pages:

Notes