To send website traffic to your VPS, create DNS records at your domain DNS provider.
For a website
- Create an A record pointing to your VPS IPv4 address.
- Create an AAAA record if you are using IPv6.
- Create a CNAME for aliases such as www if needed.
Example
example.nz. A YOUR_SERVER_IP
www.example.nz. CNAME example.nz.
Propagation
DNS changes can take time to appear everywhere. This depends on TTL values and DNS caching.