Publishing on your own domain
Table of contents
You can publish your Jekyll site that you build in Github page to your own domain name. Here’s the two steps:
- On your domain side Zone Editor, add A records pointing to Github
- On the Github side - add CNAME file and adjust the settings
On the domain side
Login to your Domain CPanel or client console and navigate to the Zone editors and add 4 A records with the following IPs:
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153
See Github page for more details
Check it in your terminal with dig
dig YOURDOMAIN.COM.AU +noall +answer
# It'll give you this list if they are setup correctly.
YOURDOMAIN.COM.AU. 4122 IN A 185.199.108.153
YOURDOMAIN.COM.AU. 4122 IN A 185.199.111.153
YOURDOMAIN.COM.AU. 4122 IN A 185.199.109.153
YOURDOMAIN.COM.AU. 4122 IN A 103.208.219.11
YOURDOMAIN.COM.AU. 4122 IN A 185.199.110.153
It may take a moment to settle these up.
On Github Side
Navigate to the Repository’s Settings and add the domain name above.