💾 Archived View for srht.site › custom-domains.gmi captured on 2023-06-14 at 13:39:45. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-03-01)
➡️ Next capture (2024-02-05)
-=-=-=-=-=-=-
In order to use a custom domain, you must first configure your website’s DNS records accordingly. You can do this at your domain registrar’s dashboard.
To add a domain like example.org, you need to add an A record which points to 173.195.146.139.
@ IN A 173.195.146.139
We reserve the right to change this IP address. If your site will be affected, we'll send you an email at least 30 days in advance. Make sure your email address is up to date!
That’s it! Just substitute your domain name in place of username.srht.site when you publish.
Simply add a CNAME record which points to pages.sr.ht. (the period at the end is important!). For exmaple, to add foobar.example.org (in bind format):
foobar IN CNAME pages.sr.ht.
NOTE: Some (bad) domain registrars will complain about the trailing period. If this happens, just remove it, and it’ll probably work. If it doesn’t work, please send an angry email to your crappy domain registrar.
That’s it! Just substitute your domain name in place of username.srht.site when you publish.