Report this

What is the reason for this report?

Virtual Host websites all show 404 after reboot

Posted on March 1, 2017

Hi, I use virtual hosts to host multiple wordpress sites and after I used the command ‘sudo reboot’, all of the sites which were fully working before now return 404 not found pages.

I’ve checked the virtual host files and the DocumentRoot is pointing to the correct directories, I’ve looked at the logs and they seem normal (posted below), I checked the permissions and searched Google for an answer but I’m yet to find one.

Any help or guidance would be greatly appreciated.



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!

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.

@HW102

It doesn’t appear that the logs posted, so if you could, please try posting them again :-). Beyond the logs, please also post your VirtualHost configuration(s).

A simple reboot of the Droplet shouldn’t turn working websites in to something that no longer works, so there has to be something else at play – at least that would be my initial thought as rebooting shouldn’t change anything.

A reboot may fail to start a service if you don’t have proper init.d or systemd scripts for the service in question, but it shouldn’t alter something that doesn’t normally change unless modified by hand or through a script.

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.