Connect to your hosting with FTP
Create an FTP account in cPanel, then connect with an FTP program to copy website files to and from your hosting.
Last updated 2 min read
FTP lets a program on your computer copy files to and from your hosting. It is handy for large websites, and for giving a developer access to one folder only.
Create an FTP account
Log in to cPanel and open FTP Accounts.
Under Add FTP Account, type a name in Log In and choose the domain. The full username becomes name@yourdomain.com.
Set a strong password; the Password Generator makes one for you.
Check Directory. This is the only folder the account can reach. cPanel suggests a new folder; change it to
public_htmlif the account should reach your whole website.Press Create FTP Account.
How many FTP accounts you can create depends on your plan.
Connect with an FTP program
Install an FTP program on your computer and enter these details:
Host: your domain name. If the domain does not point to your hosting yet, use the server name or IP address from your welcome email.
Username: the full FTP username, including the part after the @ sign.
Password: the one you set for this FTP account.
Port: 21.
Protocol: FTP. Do not choose SFTP: it is a different service, and these FTP accounts do not work with it.
Encryption: choose explicit FTP over TLS if your program offers it, so your password and files do not travel as readable text.
In cPanel, Configure FTP Client next to the account shows its connection details as well.
The first time you connect with TLS, the program may ask you to accept the certificate of the server. Check that it names your domain or your hosting server before you accept.
After connecting you see the folder of the account. Website files belong in public_html, with the home page named index.html or index.php.
Good to know
Your main cPanel username and password work for FTP too, but a separate FTP account is safer to hand to someone else. Delete it under FTP Accounts when the work is finished.
When you delete an FTP account, cPanel asks whether to delete its folder too. Leave the files in place unless you are sure.
If it does not connect
Check that the username is complete (name@yourdomain.com) and that the password has no extra space.
Check the host and port 21, and that the protocol is FTP, not SFTP.
If the program connects but hangs while listing folders, switch its transfer mode to passive.
You can set a new password at any time under FTP Accounts with Change Password.
Still not connecting? Open a ticket in Support, department Technical, category cPanel. Never send a password in a ticket.