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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
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.
Submit an Answer