Yes,you can use their DNSservers. Find out from your VPS the IP address of your server,then go to NameCheap and add an A record (enter the ip address) for your domain name on their DNS server. That’ll point your domain name to the ip address. Then on your VPS server,configure Apache for your web site.
People also ask
How do I set up a DNS zone on a VPS?
On Hostinger, you may easily do it using the domain management panel. The next step is setting up a DNS zone for your domain on the virtual server. Connect to your VPS via SSH and go to: Using the nano command, create a new zone file for your domain:
How do I point a domain to a VPS?
Pointing a domain to VPS via custom nameservers is a bit trickier, as you will need to set up a new DNS zone on the virtual server. This method will switch the location of your DNS zone to the VPS, which means that all future DNS-related changes will have to be made through the newly created zone.
How do I add a custom DNS record to my VPS?
Click on the Plesk button, then enter your username and password if asked. Adding the domain name to your VPS will automatically create custom DNS records, including Name Server records, assigned with your dedicated VPS IP address. The steps below will show you how:
How do I add a Windows VPS to my Name Server?
On the Name Servers section, click on the menu button found on the right. Select Add Name Server from the drop-down menu. In the Host Name field, enter your first Name Server: 鈥?ns1.mydomain.com 鈥? then add the Windows VPS IP Address in the field beside it.