Just for future reference, to make it simple, there is a var/www
folder on your Turnkey LAMP installation on VirtualBox.
You can always connect to your LAMP using any SFTP client. FileZilla is the most recommended.
In your FTP client, you need to set up the connection:
Host IP: The IP given to your Host-Only-Adapter by LAMP. You can find it in Advanced Menu after your LAMP boot. Usually it is something like 192.168.56.101. You can also check that IP using console command:
ifconfig -a | less
It is called the inet addr and your Host-Only-Adapter is usually mounted as eth1
FTP Login: root
FTP Password: root_password
Server Type: SFTP on port 22 (not FTP on 21 which usually is set by default)
After you connect, find your /var/www
folder and you can "upload" files to it as in any FTP server. Try not to remove original files in /var/www/
as these are tools you might need use in the future.
Your websites can be accessed from Host machine by entering IP address of as above (ex. 196.168.56.101
) in the browser.
Hope this will help some folks.