Pointing a domain at your VPS
DNS for your domain is managed wherever its nameservers point: your registrar, Cloudflare, or another DNS host. Your VPS does not answer DNS for you unless you run a DNS server on it.
- Add an A record for
@with the server's IPv4 address. - Add an A record (or a CNAME to the bare domain) for
www. - Add an AAAA record only if the server really has a working IPv6 address.
- Look the name up here and confirm the NS records belong to the DNS host you edited.