Knowledge Base

Managing files: File Manager and FTP

Your website's files live in public_html inside your account. Anything you put there is served at your main domain; addon domains and subdomains get their own folders.

File Manager (in the browser)

Open File Manager in cPanel. You can upload, download, edit, extract and compress files right there. For a few files, it is the quickest option. Uploading a zip and extracting it on the server is much faster than uploading hundreds of files individually.

FTP and SFTP (for bigger jobs or a code editor)

  1. In cPanel, open FTP Accounts and create a user. Point its directory at the folder you want it limited to, for example public_html for a developer who only needs the website.
  2. Connect with a client such as FileZilla or Cyberduck:
    • Host: yourdomain.com (or ftp.yourdomain.com)
    • Protocol: FTP with explicit TLS (FTPS), port 21. Plain FTP works but sends your password in the clear, so turn encryption on.
    • Username and password: the FTP account you created.
  3. Starter includes 2 FTP accounts, Pro 10, Premium unlimited.

SFTP (SSH-based) is available on Premium accounts with SSH enabled.

Permissions and ownership

Folders should normally be 755 and files 644. If a plugin or installer complains about permissions, that is the first thing to check. Never set anything to 777; the server refuses to run scripts in world-writable folders for your protection.

Please rate this article to help us improve our Knowledge Base.

0 0