# Services : GitHub : Pages
To enable:
- create a repository named `USERNAME.github.io`
- create an index.html / index.md / README.md file in the repo root
- Settings > Code and automation > Pages > Branch : select branch
To set a custom domain:
- set up DNS records
- test results with `dig APEX.TLD`
- Settings > Code and automation > Pages > Custom domain : enter APEX.TLD
- Settings > Code and automation > Pages > Enforce HTTPS : enable
**DNS Records**
```
A APEX.TLD ->
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153
AAAA APEX.TLD ->
2606:50c0:8000::153
2606:50c0:8001::153
2606:50c0:8002::153
2606:50c0:8003::153
```