Cannot see public_html folder with SFTP client

I signed up yesterday, followed this guide and believe I’ve got LAMP running:

http://library.linode.com/lamp-guides/u … 0.04-lucid">http://library.linode.com/lamp-guides/ubuntu-10.04-lucid

I’ve configured a virtual host and when I navigate to the domain in a browser I see the expected ‘Index of /’. However when I connect through SFTP I cannot see a public_html folder to upload files into. Back in my SSH Client if I do:

ls /srv/www/mydomain.com/

I can see the two folders I’ve created (public_html & logs).

Can anyone explain or point to an article in the library that would point me in the right direction.

TIA

Paul

2 Replies

Have you tried setting the default path in your SFTP client to /srv/www/mydomain.com/?

@karrott:

Have you tried setting the default path in your SFTP client to /srv/www/mydomain.com/?

Not until you said. Thanks this has sorted it :)

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct