Guides / Host GitHub Pages on your Ajaira subdomain
Host GitHub Pages on your Ajaira subdomain
Four A records and one setting in your repository.
One-click setup. Signed in? Open your subdomain's DNS page and press
Apply under GitHub Pages — it adds these records for you.
Go to dashboard →
What you need
- A repository with GitHub Pages enabled.
- An Ajaira subdomain, e.g.
myname.ajaira.site.
Step 1 — Add four A records
GitHub Pages serves from four anycast addresses. Add all four, with name @:
| Type | Name | Value |
|---|---|---|
| A | @ | 185.199.108.153 |
| A | @ | 185.199.109.153 |
| A | @ | 185.199.110.153 |
| A | @ | 185.199.111.153 |
GitHub issues the certificate itself once it can see these records.
Step 2 — Set the custom domain on GitHub
In your repository go to Settings → Pages → Custom domain, enter
myname.ajaira.site and save. GitHub writes a
CNAME file into the repository.
Step 3 — Enforce HTTPS
Once GitHub finishes its DNS check, tick Enforce HTTPS. The certificate can take up to an hour on a brand-new hostname.
Common problems
- “Domain does not resolve to the GitHub Pages server.” One of the four A records is missing, or the TTL has not expired yet.
- Certificate stuck. Remove the custom domain in GitHub, save, re-add it. That restarts the issuance.