install ftp on Apache
I am a complete nooB Linode user with very little experience with Linux. My set up is:
16MB Linode
Ubuntu 10.04 LTS
Apache2 Web Server
My plan is simple: I want to use my linode to host my personal website. I put my domain name in my browser yesterday to test my server. It apparently works as Apache returned the default page specifying:
Apache/2.2.14 (Ubuntu) Server at mydomainname.com Port 80.
I then tried to put my website from Dreamweaver to my linode but to no avail. Dreamweaver just can not connect to my server. A friend of mine suggested that I probably need to install an FTP application on my Apache server. I read today that there is an Apache FTP module called mod_ftp. My questions are:
1) Do I really need an FTP application to be installed on my Apache server to put my site on my linode?
2) Is mod_ftp the application I should install?
3) How do I install it?
Thank you.
4 Replies
No,
and No
If your version of dreamweaver supports it you should use sftp which is secure and doesn't require additional software.
If it doesn't then you're stuck with unsecure ftp and will need to install a ftp service, i.e. vsftpd, pro-ftpd, or pure-ftpd, you can install these with apt-get install
In fact, FTP should probably be avoided even if you do need something less simple.
If you need to use dreamweaver to develop HTML, then use a secure SFTP client after your editing is done to upload your files securely to your site.
Things to know:
- It's a checkbox called "Use secure FTP (SFTP)" located in the same window where you fill in the server and login credentials.
If you're using a custom port number for your SSH server, you have to use the URI notation of
: in the server address field. Dreamweaver tries to be "too smart" and tries to find files on the server according to paths in your scripts, so if you're using chroots and such and have logging enabled you may see quite a bit of "sniffing around the directories". That's normal, for some values of normal.