Website is down after backup, can't figure out what's wrong.

November 9, 2019 201 views
WordPress Ubuntu Apache Backups

I’ve been having a lot of issues with my droplet, i have a wordpress install and it had been running incredibly slow all of the sudden (last 1-2 days), i thought it could have been cloudfare so i took it down. Doing that made me unable to access the site, and after a lot of time trying to fix it i ended up doing a restore to a backup made 17 hours ago, i thought that would fix the issue, but now i can’t access my site at all, not even when i try visiting the IP.

I already went over all the config files, even reinstalled apache, but nothing seems to work.

Edit: The site is www.vicariuscollective.com, my current IPV4 is 157.245.219.201

1 Answer

Hello,

So looking at your current site, it looks like apache is not loading PHP. If you look the PHP files are getting returned as raw files. This is a mega issue as anyone can locate your WordPress config file and view its data, you will need to rotate everything once you get back online.

I think when you reinstalled apache you did not add php model in. Something like

apt-get install libapache2-mod-php7.0

https://stackoverflow.com/questions/3555681/why-are-my-php-files-showing-as-plain-text

If your looking at more frequent backups of your droplet have a look at our product SnapShooter - DigitalOcean Backups

  • Just to hammer in the point, your wp-config.php is exposed. Once running again your instance is vulnerable to any know who knows that data!

    • Thanks for answering, do you know any way i could go about fixing it?
      I did try installing the php model but it doesn’t seem to do the trick.

Have another answer? Share your knowledge.