How Do I Point My Websites to VPS?

This article will guide you to point your websites to VPS. You can point your websites to VPS in following 2 ways.

1.0 Use Domain Registrar's Nameservers

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. Once these records are added, it will take 24 to 48 hours in global propagation and your website will start pointing to your VPS.

  • www.................A.........................Your VPS_IP_address
  • (blank)..............A.........................Your VPS_IP_address
  • *......................A..........................Your VPS_IP_address
  • mail..................A.........................Your VPS_IP_address

2.0 Create and Use VPS’ Custom/Private/Child Nameservers

Once you create child/custom nameservers, you can use them for all your domains hosted on your VPS. Suppose, you have existing domain name "" and you wish to point it to your VPS, first you will create Custom/Private/Child nameservers on this domain, for example:


  • (you can use any prefix in place of ns1)
  • (you can use any prefix in place of ns2)

2.1 Register Custom/Private/Child Nameservers at Domain Registrar

Login to domain control panel (control panel provided by domain registrar to manage domain) and register above child/private/custom nameservers. All domain registrars would have their own GUI and hence their own steps to register custom nameservers. Hence, we have compiled the series of tutorials to register the private nameservers at various registrars.


  • If you do not find your registrar in this tutorial list, you can contact them directly (with your VPS IP address) to register custom nameservers for you.
  • If you find registrar's control panel GUI different than the shown in the video tutorials, you can contact them to register custom nameservers for you.
  • If you have domain registration services with AccuWebHosting, just submit a ticket from Client Area, we will register them for you.

Once custom nameservers have been registered, follow the below mentioned steps.

2.2 Host Domain/Website


Windows VPS (WebsitePanel)

Follow the below mentioned steps to host a domain and website from WebsitePanel. 

Linux VPS (cPanel)

Once nameservers have been registered, you will have to host the domain from cPanel/WHM. Either you can create new hosting account (cPanel account) in WHM, or you can add new domain as addon domain in existing cPanel account.


2.3 Set/Change Nameservers

Windows VPS (WebsitePanel)

If you have purchased Windows VPS with WebsitePanel, you will have to change nameservers from WebsitePanel as follows.

  • Login to WebsitePanel.
  • Click on All Users.
  • Click on Username.
  • Click on Domains.
  • Select the Domain name.
  • Under DNS section, click on Edit DNS Zone Records link
  • Edit both NS records entries, enter newly registered nameservers and save the changes.

Linux VPS (cPanel)

To set newly registered nameservers, refer our knowledgebase article.

2.4 Set Private Nameservers to Domain

Login to registrar's control panel and set newly registered namservers. You can also contact your registrar to set nameservers for you. Once custom nameservers are registered, you can use them for all your domains you have hosted on your VPS. You can verify whether you have pointed your website correctly to your VPS or not through online DNS lookup tools like MyDNS.Is. If everything goes well, your website will start pointing to your VPS within 24 to 48 hours after setting up the nameservers.

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to check Inode usage from cPanel and Command line?

Inode is a data structure that stores the information about all files created on your hosting...

Virtual Machine with CentOS 5 32-Bit OS Does not Address Physical Memory More Than 3 GB

Recently we came across very strange issue wherein Linux virtual machine with Centos 5.X 32 Bit...

PHP is not working on my domain name. How should I resolve this problem?

We've frequently observed that application extensions path is setup incorrect in IIS property of...

Can I Host Unlimited Websites with Different Domains in Windows or Linux VPS hosting?

There is no restriction on the total number of hosted domains on Windows VPS and Linux VPS...

Error: Specified FTP account already exists on the target service

Sometimes, it happens that if you try to create an FTP account from WebsitePanel, it shows an...