Custom domain — bio.praison.ai¶
Docs are served at https://bio.praison.ai via GitHub Pages.
1. DNS (praison.ai registrar / Cloudflare)¶
Add a CNAME record:
| Type | Name | Value | TTL |
|---|---|---|---|
| CNAME | bio |
mervinpraison.github.io |
Auto |
Note
Use bio as the host name (not bio.praison.ai in the name field on some panels).
If you use Cloudflare, proxy (orange cloud) is fine — enable Full SSL.
2. GitHub repo settings¶
- Open PraisonAIBio → Settings → Pages
- Build and deployment → Source: Deploy from a branch
- Branch:
gh-pages· Folder:/ (root)— notmain - Custom domain:
bio.praison.ai - Save — wait for DNS check (can take up to 24h, often minutes)
- Enable Enforce HTTPS when available
The docs workflow builds MkDocs and pushes to gh-pages via peaceiris/actions-gh-pages (cname: bio.praison.ai).
3. Repo files (already configured)¶
docs/CNAME→ copied intosite/on buildmkdocs.yml→site_url: https://bio.praison.ai/.github/workflows/docs.yml→ deploy with custom domain
4. Verify¶
dig bio.praison.ai CNAME +short
# expect: mervinpraison.github.io.
curl -I https://bio.praison.ai
Troubleshooting¶
| Issue | Fix |
|---|---|
| DNS not verified | Wait; confirm CNAME points to mervinpraison.github.io |
| Certificate pending | Disable/re-enable Enforce HTTPS after DNS is green |
| Wrong content / old Jekyll theme | Pages source must be gh-pages / (root), not main. Rebuild: gh api --method POST repos/MervinPraison/PraisonAIBio/pages/builds |
| Design not updating after push | Confirm docs workflow succeeded and gh-pages has MkDocs HTML (mkdocs- in page source) |