To serve a site or API on your domain, DNS must resolve to the VPS IPv4 (and optionally IPv6).
Steps
ote the VPS public IP:
curl -4 ifconfig.mehostname -IIn your registrar or DNS panel (Cloudflare, etc.) create an A record for @ (or yourdomain.com) with that IP. Use TTL 300–3600 s at first.
Optional: CNAME www → yourdomain.com, or a second A for www.
Wait for propagation and verify:
dig +short yourdomain.com Adig +short www.yourdomain.com A
Tips
- Until dig shows the new IP, Certbot HTTP-01 may fail.
- With Cloudflare orange-cloud proxy, origin is still your VPS — open 80/443.
ext step
VPS with a fixed IP for your domain: Deploy your Cloud VPS.