How To Upload your Website Via FTP Transferring a website from your computer to your web hosting is very easy with FTP.
Website Via FTP
The most convenient way to transfer your website via FTP files to your new web hosting account is via FTP. You should connect to your hosting account and download the files locally to your computer. Then you have to upload them to your new hosting account’s main folder (usually public_html, www or httpdocs).
Table of Contents
Short Method 1
Step 1: Install an FTP program
To put your website on your hosting package via FTP you must install an FTP program. We use the free FileZilla ftp client for this manual, but there are many other options available.
Some popular FTP programs:
- For Windows: FileZilla (recommended), SmartFTP, CuteFTP, WS_FTP
- For Mac: FileZilla (recommended), CuteFTP, Transmit, Fetch, gFTP
- For Linux: FileZilla (recommended)
Step 2: Search for your FTP data in the control panel
To connect to your web hosting with your FTP program, you need login information from your FTP account.
Follow these steps in the control panel :
- Go to “My products”> “Web hosting”> Click on “Managed hosting” next to the the domain for which you want to consult the hosting.
- In the menu on the left you choose “FTP & SSH” > “FTP”.
- Click the three vertical dots next to your FTP user to view the login details. You see a server, port and user. Keep this handy for the next step.
Not an FTP user yet or have you forgotten the password?
- Reset your FTP user’s password
- Create a new FTP user
Step 3: Connect to your hosting package via FTP
Do you have the FTP details of your hosting package? Open your FTP program and enter it to connect to your hosting package.
Your FTP program will request the following information (see image):
- Host : Enter your FTP server here. Eg ftp.domainname.com
- Username : Enter your FTP user’s username. Eg firstname.lastname@example.org
- Password : The password of your FTP user.
- Port : Enter the port that the control panel indicates.
Step 4: Transfer your files via FTP
In your FTP program you have 2 panels (see image). On the one hand you see the files and folders on your own computer, on the other hand you see those on your web hosting package.
Follow these steps in your FTP program to put files on your hosting package:
- Select the “www” folder for the files on your web hosting.
Your website must be placed in this folder. Never delete the “www” folder!
- Select the folder or file with your website from the files on your computer and choose “upload”. With FileZilla you get this choice with a right click.
- The files are now transferred from your computer to your web hosting.
After completing this process, surf to your domain name to test whether your website appears.
To connect to your hosting account you will need your FTP login details. They are available in your User Area under My Accounts at the Information & Settings page. Your main FTP login details are the same as your cPanel username and password.
You will need the following details:
Upload your website via FTP
- FTP Hostname – This is the hosting server name.
- FTP Username – The main FTP username is the same as your cPanel username.
- FTP Password – You need to use your cPanel password.
- The FTP port – The default FTP port is 21.
You can also create new FTP users in cPanel, under FTP
How to create FTP accounts
To add new FTP accounts, click on the FTP Accounts tool icon from the Files section of your cPanel.
In the Add FTP Account section of the page, you should fill in all the fields.
- Login – the username of the new FTP account. “@yourdomainname.com“, where yourdomainname.com is the primary domain name of your account, will be appended automatically after the username. For example, if you input ftpuser, the full username will be email@example.com;
- Password – the password for the new FTP account;
- Password (again) – the same password from the field above;
- Directory – the directory to which the new FTP account will have access to. Note that the FTP account will have access to all subfolders as well. For example, if you choose the public_html folder, the new FTP account will be able to access and modify all subfolders inside it – public_html/folder1, public_html/folder2/folder3, etc;
- Quota – the allowed quota for the new FTP user in MB.
Once you input all of the details for the new FTP account, click the Create FTP Account button to create it.
A new section will pop up, confirming the successful creation of the FTP account.
How to edit and delete FTP accounts
If you would like to make changes to an FTP account or delete it entirely, you can do that from the FTP Accounts section in the tool page.
To change the password for an existing FTP user, click the Change Password link next to the entry for it.
A new section will appear in which you should type in the new desired password for the FTP user in the two fields and then click the Change Password button to confirm the changes.
You can also change the quota of an existing user by pressing the Change Quota link next to the entry for the user in the tool.
A new section will appear in which you can specify the new allowed quota for the FTP user. Click the Change Quota button to apply the change.
To delete an existing FTP account, click the Delete link next to the entry for the FTP user.
A new section will appear in which you can choose to delete only the FTP account or the account and all files inside its assigned directory. Be extremely careful to choose the appropriate option to avoid deleting any of your website’s files.