From LAMP Host Knowledge Base
Jump to navigation Jump to search

FTP (File Transfer Protocol) allows you to connect an application to your webserver to manage your site's files.

Add a new FTP account

FTP accounts at LAMP Host share the same namespace as your site's email accounts. Any email account can be given special privileges to also function as an FTP user. The process for adding an FTP account is identical to adding an email account. When adding the account, however, be sure to set the Enable FTP Access option to Yes. If an account was added without FTP Access, you can enable it at any time by visiting your Site Manager and clicking Edit on any existing email account.

Add Account Enable FTP

Login Credentials

Hostname: ftp.yourDomainName.com or yourDomainName.com (e.g., ftp.mynewsite.com)
Username: fullFtpUser@yourDomainName.com (e.g., captainftp@mynewsite.com)
Password: password used when creating your account
Port: 21
Note: If you have not yet switched your DNS to LAMP Host, you can develop your site by appending .mylampsite.com to your domain name when entering your FTP hostname (e.g., mynewsite.com.mylampsite.com)

FTP Clients

To use your FTP account, you will need an FTP client application to connect to your webserver. LAMP Host recommends the Free Software, cross-platform application FileZilla (available at filezilla-project.org). FileZilla is a full-featured FTP client for GNU/Linux, Mac OS X, and Windows. For a larger view of your options for an FTP client, see Wikipedia's Comparison of FTP client software.

For a detailed guide to using FileZilla, see our FileZilla Application Guide.

Uploading Content

Once connected to your webserver via FTP, you will be presented with several pre-created folders. The /htdocs/ folder is used to serve your web content. All web files should be uploaded here.

  • Root directory for all web content.
  • Base directory for .htaccess
  • Support for running perl CGI scripts
  • Scripts should be world-executable
  • Storage for daily raw access logs for your site
  • Logs are kept for one week
  • Logs are formatted plaintext, Apache Combined LogFormat, gzipped for size
  • Used as backend storage for other hosting services
  • Stores email data, SSL certificates, mailing list backend files, and raw log statistic files
  • Should not be deleted, renamed, or used for storage.