Codeberg Pages DNS Configuration
Codeberg Pages is a free static site hosting service provided by Codeberg. To use it with a custom domain, you need to configure your DNS records properly.
DNS Records
Here are the DNS records I configured for my domain to point to Codeberg Pages:
| Type | Name | Value | TTL |
|---|---|---|---|
| A | @ | 217.197.84.141 | Automatic |
| AAAA | @ | 2a0a:4580:103f:c0de::2 | Automatic |
| ALIAS | @ | codeberg.page. | 5 min |
| TXT | @ | website.AZanovel.codeberg.page | Automatic |
- A Record — Points the apex domain to Codeberg's IPv4 address.
- AAAA Record — Points the apex domain to Codeberg's IPv6 address.
- ALIAS Record — (also called CNAME-flattening) points the apex domain to
codeberg.page.so Codeberg can serve your site. - TXT Record — Verifies domain ownership. The value should be
<your-repo>.<your-username>.codeberg.page.
TXT Record Issue
I'm not sure why, but it looks like the site is not accessible directly with the value contained in the TXT record. I need to figure out why — if you have any insight, feel free to reach out.