Hey,
I’m fairly new in setting up a server and I’m sorry in advance for not being as techinically detailed with my problem but here is the gist of my problems.
So just 4 days ago I created my droplet for my WordPress site following this tutorial. https://www.wpexplorer.com/install-wordpress-digitalocean/
It worked perfectly at first and I begin working on the site installing a theme and got some considerate work done. Then, the very next day the site was working through the domain (which is the IP address) however the wp-admin wasn’t. Then, I tried logging into the console of Digital Ocean and it asked me to enter my username and password yet again; it basically functioned like I was creating a site for the first time again. It asked me to set up my domain (again) and I chose the same IP address for domain. However, this time the site didn’t load at all giving me the error
NOT FOUND
The requested URL was not found on this server.
Apache/2.4.29 (Ubuntu) Server at 159.65.180.242 Port 80
I tried basically every single tutorial on YouTube with no success.
Please help I need an answer ASAP.
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!
Hello,
Indeed as @KDSys mentioned it looks like that your /var/www/html directory does not exist.
What I could suggest is re-creating this directory with this command mkdir /var/www/html or restoring the directory from a backup.
Regards, Bobby
This comment has been deleted
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
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
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.