404 There isn't a GitHub Pages site here


There isn’t a GitHub Pages site here.

I am getting this error form an already published website when I changed the repository to private and again to public. Please Help.

You will have to check the enforce HTTPS option available in the manage access tab of your repo settings.

Hi @imyuvi1234, welcome to the GitHub Support Community!

GitHub Pages sites aren’t able to be hosted from private repositories when you’re on the free plan. When you change your repositories visibility settings any Pages sites hosted from this repository will be disabled. To get your site working again you’ll need to make sure your repository is set to public again, head to the repository settings page, make sure that GitHub Pages is enabled, then push a fresh commit to your repository. Doing this will trigger a rebuild of your site and should make your site available after it’s finished rebuilding.

1 Like