Temporary failure in name resolution

My website is hosted on a DigitalOcean droplet

When I try to ping it, I get the message: Temporary failure in name resolution

When I try to access the same server with a different domain (another TLD), it works.

What has happened, and what can I do to fix it?

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.

Bobby Iliev
Site Moderator
Site Moderator badge
July 23, 2022

Hi there,

Once you’ve made a DNS change it can take up to 24/48 hours for the DNS cache to clear over the Globe before you could see the new DNS records.

In the meantime, I could suggest using the following DNS lookup tool to check your DNS records:



Hello, this could be an issue from your /etc/hosts file.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up