How do i create NameServers

April 2, 2015 2k 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 then, 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/ with your own (ns1/2/ 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.