Can't access to /var/www/ using filezilla

I’ve just installed wordpress and sftpd on my Ubuntu 12.04. But when I log in with filezilla, there’s no www folder, only two empty folders: files and .cache.

I’v aleady given my user permission using: chown -R username /var/www/

I’m very new to all of these, can anyone tell me why? Thanks

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.

Holly shit, I chose FTP, not SFTP when I set up the connection in filezilla, shame on me!! <br>Now it’s okay. Andrew, thanks for your help ;)

It looks to me like you are just in the users home folder. Did you try clicking the folder I highlighted? You need to browse to the root directory, the one labeled with the forward slash: “/”