Question

Apache DNS not working on LAMP Server

Hello! The tutorials are very informative. However, my DNS cannot respond saying “Site cannot be reached”

I did all the tutorials. Also, I added the /etc/hosts as optional tool for declaring the DNS using IP address. I don’t understand what is going on and still stuck as of this moment. Hoping for a response. Thank you and best regards!


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.

Hi @alvizorudyanne,

The DNS part - “Site cannot be reached”, is not actually connected to your Droplet. It’s related to your DNS and probably your Nameservers.

If you recently made the change, your DNS could still be propagating. Otherwise there might be an issue with your DNS, maybe you have a root CNAME or something similar.

Hello, @alvizorudyanne

Have in mind that DNS changes might take a few good hours in order to properly update. The best thing to do is to check if the DNS configuration is correct, for that you can use our DNS tool:

https://www.digitalocean.com/community/tools/dns

Regards, Alex