Question

Apache keeps going offline

I’ve setup a new Wordpress droplet, and I believe I’ve got Certbot working fine too.

However, I find that after a while (15+ minutes), if I go to the site in my browser I get a “This site can’t be reached / DNS_PROBE_FINISHED_NXDOMAIN” error in Chrome, but then it comes online after a few seconds.

I’ve checked /var/log/apache2/error.log and found the following…

[Thu Nov 25 13:42:11.305444 2021] [mpm_prefork:notice] [pid 846] AH00169: caught SIGTERM, shutting down
[Thu Nov 25 13:43:48.303502 2021] [mpm_prefork:notice] [pid 865] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations

I’ve also used the following command to see if anything is killing Apache, but I’m getting no results…

grep -i kill /var/log/syslog | grep apache

Any help much appreciated!


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.

Accepted Answer

Hi @notpatrick,

I think the issue was with your DNS. If you just changed your DNS it can take up to 48 hours for it fully propagate.

Are you experiencing the issue now? Wait for your DNS to stop propagating and see if this is still being experienced.

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.