Github Pages and custom DNS problems

Hi! How can I update/delete a github page after changing to custom DNS?. I created a github page with username. github. io and put a custom domain, all works good but after changing domain now I cant update the web. Also, I delete custom domain and github page repository and username. github. io page still working, Why??.

I created a new repository with the same name but a new code, a new web and if I visit username. github. io I still seeing the page of the old repository.

what do you mean by updating? you just simply change the domain, you still have the repo as the repository of your files for your web

do you mean you delete the existing repo? You can’t delete that, that is where your site is loading from! unless you change where your site would be loading from

now as of the old GitHub Page still loading, it might be just a cache