From 4959211e9ce7a1705df6224bd934030d1f1d8a22 Mon Sep 17 00:00:00 2001 From: crystal Date: Sat, 11 Mar 2023 03:35:15 +0000 Subject: [PATCH] Clarify DNS instructions (#202) People have come into the Matrix channel with some confusion about how to set up the DNS records properly on a couple occasion. A few small adjustments will make it easier to understand and hopefully reduce the likelihood of accidental misconfiguration. Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/202 Reviewed-by: Otto Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: crystal Co-committed-by: crystal --- index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 159cf2b..b0c8113 100644 --- a/index.html +++ b/index.html @@ -155,16 +155,16 @@


or

- To use a custom domain, create a file .domains in your repository with the domain name to use. + To use a custom domain, create a file .domains in your repository with the domain name you wish to use.

- Then, add a DNS record to that domains:
- CNAME [[branch.]repo.]user.codeberg.page + Then, add a DNS record for that domain:
+ CNAME [[branch.]repo.]user.codeberg.page.

- Or for zone roots where CNAME doesn't work:
- ALIAS codeberg.page
+ Or for apex domains where CNAME doesn't work:
+ ALIAS codeberg.page.
TXT [[branch.]repo.]user.codeberg.page

- If ALIAS isn't supported, use A & AAAA instead:
+ If ALIAS isn't supported, use A & AAAA instead:
A 217.197.91.145
AAAA 2001:67c:1401:20f0::1
+ TXT as above