Where are wordpress filess located?

I added two wordpress apps to my server but when I ssh to root@myip I can’t see their files anywhere although the wordpress sites are up and fully functioning.

I followed some guides and checked in ‘var’ but there was no ‘www’ directory. I installed apache2 (not sure if this was the right thing to do or not?) and and the www directory was created containing one index.html file. However it doesn’t display an other wordpress files. Any help would be greatly appreciated.

This is running on an Ubuntu 64 droplet.

I’m a complete noob so any help would be greatly appreciated.

Show comments

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello, If you used the ‘one-click Wordpress’ installation on creation of your droplet at DO, the default directory of your website will be /var/www/html. But it looks like you are using serverpilot since you say you created multiple apps. So if you use serverpilot, your wordpress website will be located at /srv/users/serverpilot/$appname