Can't access my site through sftp connection

January 20, 2016 602 views

I installed the server as in the tutorial and it loads and seems like in the tutorial screenshots but when I try to transfer files through the sftp connection I can't access any of the files through my IP address. For some reason I don't have /var/www folder in my server.

1 Answer

Hey there,

It looks like you are confusing /root/var/www/htmlwith /var/www/html from what I see in your root_001.png screenshot. It can be confusing as "/" is known as the root of the drive, and "/root" is the home folder for the root user account.

You want to try to back out of /root (which is what you log into by default) and find /var. Usually there is a 'double dot' at the top of folder listing that if double clicked would move you up a folder. Most FTP programs show it like that. You may also want to try out FileZilla instead as it may be easier to navigate with.

Happy coding,

Jon Schwenn
Platform Support Specialist

Have another answer? Share your knowledge.