Point a domain to your VPS with DNS
You need the VPS IP address and access to the DNS provider serving your domain's nameservers.
1. Open DNS management at the current DNS provider.
2. Create or update an A record for @ pointing to the VPS IPv4 address.
3. For www, add an A record or a CNAME to the root domain. Avoid duplicate or conflicting records.
4. Save and allow DNS caches to update according to TTL. Configure the website and SSL on your VPS separately if needed.
If it does not work, check nameservers, records and web server configuration. Do not remove mail records when only changing the website address.
1. Open DNS management at the current DNS provider.
2. Create or update an A record for @ pointing to the VPS IPv4 address.
3. For www, add an A record or a CNAME to the root domain. Avoid duplicate or conflicting records.
4. Save and allow DNS caches to update according to TTL. Configure the website and SSL on your VPS separately if needed.
If it does not work, check nameservers, records and web server configuration. Do not remove mail records when only changing the website address.