Making GitHub Pages publicly accessible
If private mode is enabled on your instance, the public cannot access GitHub Pages sites hosted on your GitHub Enterprise Server instance.
Warning: If you enable public GitHub Pages sites, every GitHub Pages site in every repository on your instance will be accessible to the public.
- In the upper-right corner of any page, click .
- In the left sidebar, click Management Console.
- In the left sidebar, click Pages.
- Select Public Pages.
- Under the left sidebar, click Save settings.
Disabling GitHub Pages on your GitHub Enterprise Server instance
If subdomain isolation is disabled for your GitHub Enterprise Server instance, you should also disable GitHub Pages to protect yourself from potential security vulnerabilities. For more information, see "Enabling subdomain isolation."
- In the upper-right corner of any page, click .
- In the left sidebar, click Management Console.
- In the left sidebar, click Pages.
- Unselect Enable Pages.
- Under the left sidebar, click Save settings.