How do i create NameServers

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

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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