Create a private Github pages

I have a Github organization, and I am going to create a private or internal repo in that organization. That repo is going to host a Github Pages site. But I want the site to be private and not publically accessible by people outside the organization. How do I do this?

Hello and welcome here!

We support what you are describing and call it Pages access control. This is available only to Enterprise customers today and documented here: Changing the visibility of your GitHub Pages site - GitHub Docs.

Hope it helps,

1 Like

Hi Yoann,

We are not able to see the page visibility option with the new section introduced for GH Pages.



Yes, thank you. That helps.

Hi Arpit, the Access Control feature is only available to GitHub Pages sites is available in private repositories with GitHub Enterprise Cloud.