How do I setup my Domain DNS zones types etc?

June 10, 2019 205 views

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.

1 Answer

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.


Have another answer? Share your knowledge.