How do I point my websites to my vps?

While you register a domain with any registrar, you are given a default set of nameserver. If you do not want to use DNS services of web host/VPS, you can use these default nameservers (DNS services of your domain registrar). In this case, DNS Zone of your domain will be created at DNS server of the registrar and you can manage the DNS records from domain control panel (control panel provided by the domain registrar).

You can change default nameservers by replacing them with the namservers given by your web hosting provider. When you replace default namservers with web hosting provider’s namservers, you will be using DNS services of your web host and DNS Zone of your domain will be created at DNS Server of your web host. In this case, you can manage DNS records through web hosting control panel provided by your web host.

When you decide to use DNS services of domain registrar, you will have to contact your registrar and ask them to change your domain's A records with your VPS IP address. If you think you are able to perform this task by your own, you can add following A records at registrar's control panel.

www ................A..........Your VPS_IP_address
(blank)..............A.........................Your VPS_IP_address
*......................A..........................Your VPS_IP_address
mail..................A.........................Your VPS_IP_address
MX...............................................mail.your-domain-name. com

Once these records are added, it will take 24 to 48 hours in global propagation and your website will start pointing to your VPS.
Was this article helpful?
Thank you!