Joit's picture

I set up LAMP but I found no way to ftp or copy some files to it. I'd like to put HTML files in Apaches www folder, where can I find this? 

Thanks

Hannes

Forum: 
Jeremy Davis's picture

Then just use SFTP via port 22 (username: root - password: set on firstboot). There are a multitude of other options: https://www.turnkeylinux.org/docs/admin-server-and-edit-files
Joit's picture

Thanks,

 

sftp works great. This points me to a root folder. 

now I want to put html files in the apache htdocs folder. Do I need to reconfigure apache for using a subfolder from this root?

Jeremy Davis's picture

So if you want to edit your html files, then browse to the doc root: /var/www/

FWIW by default you connect to the user's home directory. Root's home is /root

Joit's picture

that's it!

Thanks a ton.

Add new comment