← Knowledge Base
DNSReference note1 min read · updated 2026-11-27

Point a name at a small server

The minimum DNS setup for a website: an A record (and AAAA), a www alias and a quick check.

dnswebsitesetup
  1. Find the server's public, stable IP (a reserved IP at your provider, so it does not change).
  2. Create an A record for the name (and an AAAA if you have IPv6).
  3. Optionally a CNAME www → the main name.
  4. Wait for the TTL, then check dig yourname +short.
  5. Open ports 80 and 443 (provider firewall and the server's own), then start the web server; a server such as Caddy requests the certificate automatically once the name resolves to the machine.

Free dynamic-DNS names (for example DuckDNS) are fine for a personal site; with a static IP you do not need the update client. If the certificate request fails, check that the name resolves to this server and that port 80/443 is reachable from the internet.