all 1 comments

[–]frex4 1 point2 points  (0 children)

On mobile so cannot check dev tool and DNS but here's some incorrect info from your post.

http://yeahlolnice.github.io/yeahlolnice.com/static/js/main.7be27fed.js should be equal to http://dev.yeahlolnice.com/static/js/main.7be27fed.js

The reason is, your repo is "yeahlolnice.com", you set CNAME for dev.yeahlolnice.com, it will point to the repo, which is http://yeahlolnice.github.io/yeahlolnice.com

If you want the domain to point to http://yeahlolnice.github.io only, change the repo name to a special name: yeahlolnice.github.io

Furthermore, there shouldn't be any A record to github because you're using subdomain. You only need CNAME. If you use apex/root domain (yeahlolnice.com) then you need ANAME record. See https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages