Updated guide: This article has been refreshed for current hosting environments. Control-panel labels and available features can vary slightly by account, server configuration, or software version, but the workflow below follows the current approach used on modern hosting platforms. This guide is written to help you complete How to Upload the Index File to Your Website via FileZilla safely and understand what to check if the expected result does not appear.
Before you begin
- Confirm the FTP account username, password and home directory.
- Use the exact hostname and secure connection method supplied by the host.
- Confirm the remote directory is the document root for the domain you intend to update.
- Keep a local copy of important website files before bulk changes.
Choosing FTP, FTPS or SFTP
FTP is a file-transfer protocol; FTPS adds TLS encryption to FTP, while SFTP is a different protocol that operates over SSH. They are not interchangeable. If your hosting provider offers FTPS or SFTP, prefer the encrypted option. The hostname, port and authentication method depend on the service enabled on the server.
FTP troubleshooting
- Connection refused: Confirm the hostname, port and FTP/FTPS mode supplied by the hosting provider.
- Authentication fails: Reset the FTP account password and confirm the username belongs to the correct hosting account.
- Files upload but do not appear: Check the remote directory and confirm you uploaded to the document root for the intended domain.
- Transfer is insecure: Prefer encrypted FTP/FTPS or SFTP where the hosting environment supports it. Never send account passwords over plain, unencrypted connections.
When to contact support
Contact support when the required feature is unavailable, a server-level service is failing, an account is locked, a restore requires privileges you do not have, or you have verified the settings but the service still does not work. When contacting support, include the domain name, the exact error message, what you changed, when the issue started, and screenshots or log output where appropriate. Do not send passwords or other authentication secrets.
Original illustrated procedure
You can follow this tutorial to upload the files to your hosting account.
1. Open FileZilla FTP Client.
2. Enter your FTP host, username, and password. You can use your cPanel username and password as your FTP user and password. Then click on Quick Connect.
- Enter your domain name in the Host field, such as ftp.example.com or example.com.
3. Make sure that you are inside the public_html folder, if not then double click on it to go to the public_html folder.
4. Under Local Site in FileZilla, open the directory where your website files are located. Right-click on your index file and choose Upload.
You can view the progress of the upload in FileZilla.