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.

KFSys
Site Moderator
Site Moderator badge
November 26, 2021
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.

Try DigitalOcean for free

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

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel