I am using my main Github page (myname.github.io) as a portfolio, which redirects to a custom domain (myname.com). However, I made a completely new portfolio in a different repository which is currently live as a project page (myname.github.io/new_portfolio). I want to use myname.com for my new portfolio project instead of my old one.
My CNAME is a Google domain, so it is linked to “myname.github.io.”. I am not sure what needs to be changed where. Do I need to change “myname.github.io.” to "myname.github.io/new_portfolio." in the Google Domain dashboard? Or do I need to somehow transfer myname.github.io to my new portfolio project? How can I do that through Github?