Randomized GitHub Page Url

Hello,

In the documentation and in other tutorial sites, it is stated that the published url would follow this convention: https://<user>.github.io/<repository>

However my published urls seem to be receiving a randomized url like this instead.
https://symmetrical-barnacle-eb1234e.pages.github.io

How do I generate a url like the example above?

Hello and thank you for posting here!

Pages sites with visibility set to private do get generated names on the pages.github.io subdomain. This is a security feature related to the authentication/authorization layer needed for private visibility.

We recommend people needing private Pages sites to setup a custom domain.

If you Pages site is not sensitive you can make it public and get the regular conventional URLs.

Hope that helps,

Ah! That makes a lot of sense and would be a helpful addition to the official documentation.

Thanks!

1 Like