How do i create NameServers

April 2, 2015 444 views
DNS DigitalOcean Ubuntu

I sucessfully created droplet and install lamp stack. but now i want to host websites. As for hosting i have to give my server nameserver like if my domain is www.abc.com then ns1.abc.com, ns2.abc.com. i have already resgister domain. so how do i do that please help me

1 Answer

You have two main options (aside from using a 3rd party DNS host)

1.) Set up branded nameserver names and use the DigitalOcean DNS tools to manage your domains. - This tutorial will walk you through the process of pointing your nameservers so you can use ns1/2/3.digitalocean.com with your own (ns1/2/3.yourdomain.com) domain name.

2.) If you prefer to host your DNS services within your droplet you will want to:
a.) Install a DNS server on your droplet. BIND is the industry standard and most popular option
b.) configure your nameserver registrations (with your registrar) to point to your droplet's IP
c.) set up zone records for each domain you will host

by Pablo Carranza
Learn how to create vanity or branded nameservers with your Droplets.
Have another answer? Share your knowledge.