Organization-level custom domain not working for internal repository pages #23350
-
Hello there! I’ve read the GitHub Pages custom domain docs and they state:
I have configured an organization-level custom domain by creating a repository with the name Based on the documentation above I was expecting that from now on all pages that do not specify another custom domain would be found under Repository-specific custom domains work as intended, but setting up a new one for each repository is not a feasible solution. Redirection from |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello and welcome here! The behavior you are describing works as intended but only for public Pages sites. For security reasons, private Pages sites (the ones with a random default hostname that enforce authentication + authorization on access) need to be isolated. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the clarification! If I may suggest, think it would be useful to have a specific section in the docs where the limitations of private/internal pages are explained :slight_smile: |
Beta Was this translation helpful? Give feedback.
Hello and welcome here!
The behavior you are describing works as intended but only for public Pages sites.
For security reasons, private Pages sites (the ones with a random default hostname that enforce authentication + authorization on access) need to be isolated.