How to Point a Domain to Your VPS
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.