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

Become a contributor for community

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

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.