How do I setup my Domain DNS zones types etc?

Hello, i don’t know what happen but my website stopped redirecting to my droplet. I enabled some geocaching stuff and it just broke.

Let’s say I deleted all my DNS Zone entries it’s empty. How do I make my domain work again?

All I want DOMAIN -> DROPLET nothing else.

My DNS Server entries are pointing to the Digitalocean NS servers.

But things like MX, A, CNAME, TXT etc are empty.

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.

I hope this has been already sorted.

The A record for the domain needs to be pointed to the IP address of your droplet.

The MX record is for the emails and if you’re not hosting any emails on the droplet this is not needed. If you’re hosting your emails elsewhere the MX record needs to be pointed to the IP address of the server where your emails are hosted.

CNAMEs and TXT are optional. You will usually have a TXT record for verification and CNAMEs can be used to point the www version of your domain to the root domain name.

Feel free to ask any questions.