title: GitHub pages "There isn't a GitHub Pages site here."
body: <p>TL;DR: Changed my GH-Pages domain to a custom one, the custom one works well but the default (old) one is not redirecting to the custom one.</p>
  
  <p>I have a GitHub pages repo that was on <a href="https://mohamed3on.github.io" rel="nofollow noreferrer">the default domain</a>, then switched it to a <a href="https://mohamed3on.online" rel="nofollow noreferrer">custom domain</a>, which worked fine, and the default domain was redirecting to the new one. I then changed the repo's name to the new domain's name, but when I went to the old domain, it returned 404, so I changed the repo's name back to the default one (mohamed3on.github.io), but it still returns 404 and says </p>
  
  <blockquote>
    <p>There isn't a GitHub Pages site here.</p>
  </blockquote>
  
  <p>The <a href="https://github.com/Mohamed3on/Mohamed3on.github.io" rel="nofollow noreferrer">repo</a> contains a <code>CNAME</code> with <code>mohamed3on.online</code>.
  What do you think I should change?</p>