GitHub Pages
How to use a custom domain?
-
Configure DNS at the DNS hosting level:
- Create
A
records. Use@
or empty string. Check actual lists of IPs.
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153- Create
CNAME
record tousername.github.io
.
- Create
-
Open repository Settings => Pages
- Select Branch.
- Add
CNAME
to "Custom domain" section and Save. - Wait for checking results.
- Set the "Enforce HTTPS" option when it becomes available.
- If the domain is down for a long time (several hours), try removing it from GitHub and set it again.