I'm just trying out github pages and have the same issue. Maybe it's best to just create separate repositories (github pages) with the same contents for www.example.com and example.com? I would just setup A records for both @ and www? From https://help.github.com/en/articles/setting-up-an-apex-domain-and-www-subdomain: "You must configure www subdomain and root domain redirects with your domain registrar." What does that mean? And this doc states that it's better to use www: https://help.github.com/en/articles/about-supported-custom-domains#www-subdomains So it's better to redirect example.com to www.example.com? Though github.com doesn't do this!
... View more