Search code examples
githubgithub-pages

How to remove custom domain from github pages


I integrated a custom domain from namecheap.com but now when I am trying to do default github pages hosting this domain name is coming (anuragportfolio.me) in between the full domain name. Previously it was coming as https://anurag30112003.github.io/Portfolio.github.io/. How to remove it or restore to default?

enter image description here


Solution

  • You need remove anuragportfolio/anuragportfolio.github.io repo that include the cname.