Creating Nameservers for your Server in VestaCP

Creating and configuring DNS and  Nameservers

  • As we have setup VestaCP the next phase is configuration
  • Now we are able to access our server with ip address
  • We want to access our server with domain name
  • Setting up the domain name requires to register a domain with domain registrar the most commonly used is godaddy.com
  • So we would be describing the process through using godaddy.com
  • Go to godaddy.com and register a domain like yourdomain.com
  • Go to godaddy and click on domain and click on manage


  • Add two hostname using ns1 and ns2 and point to your elastic ip
  • Now change the nameservers of your domain to ns1.yourdomain.com and ns2.yourdomain.com

  • Go to your VestaCP and add website and check the DNS and Mail
  • Now go to DNS and edit yourdomain.com and change the template to ns-child also change the IP to your elastic IP

  • Now go to the packages and edit the default package and edit the ns records to

ns1.yourdomain.com
ns2.yourdomain.com

  • Save it and you are done with configuring the nameservers and you would able to access the VestaCP using yourdomain.com:8083
  • Now you can use these ns1.yourdomain.com and ns2.yourdomain.com for other domains to point to your server