Point your domain to your server (A record)
Log in where your domain's DNS is managed (your registrar, or Cloudflare). Add an A record with name @ (the domain itself) and your server's IPv4 address as the value. The IP is on your server's Access tab. Add a second A record named www with the same IP. On Cloudflare, set both to DNS only. New records usually work within minutes. To check, run dig +short example.com on Mac or Linux, or nslookup example.com on Windows: it should print your server's IP.
Before you start
- Your server's IPv4 address. It's on your server's Access tab.
- A domain name, and a login where its DNS is managed. That's usually where you bought it (for example a .my domain from a Malaysian registrar), or Cloudflare if you moved your DNS there.
- About 5 minutes, plus waiting for the change to spread.
We don't host DNS for your domain, so you make these changes at your DNS provider. The records are the same everywhere. Only the screens differ.