Why is my /var/www empty?

February 6, 2016 2.8k views
WordPress Getting Started DigitalOcean

I’m struggling with a Wordpress website on my Droplet - my /var/www/html folder is empty when I SFTP with a client.

The website is fine and loading as normal…What am I doing wrong? Where are the files?!

1 comment
  • Hi, I would look in your server config (nginx, openlightspeed or apache, what are you using?) and see where your www-directory is.

1 Answer

Check if its still empty if you ssh into it. Maybe your stfp user doesn’t have the right read permissions.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!