Since the GitHub help page (and article) only mention username.github.io
, that would mean that:
- you need to acquire that domain (
username.io
) from outside GitHub, - and redirect
username.github.io
tousername.io
This is what is explained in "Setting up a custom domain with Pages".
When you set up a custom domain, the server will automatically create a few redirects for you:
username.github.io ⇒ example.com
for user pageswww.example.com ⇒ example.com
for top-level domainsexample.com ⇒ www.example.com
if thewww
subdomain is used