To upload a website with FTP, get your host name, username, password and port from your hosting panel, and connect with an FTP client such as FileZilla, over SFTP if your host offers it. Then open the web root folder (public_html on cPanel hosting) and drag the contents of your exported site folder into it, so index.html sits at the top. Open your domain to check the site. cPanel's FTP guide puts the folder rule plainly: "Your site's root directory is set to the public_html folder."
This guide is for a site exported from a desktop builder such as Mobirise. It covers FileZilla, the no-install cPanel File Manager route, common fixes and later updates. Pointing your domain at the host and hosting a static site for free each have their own guide.
What you need before you upload
Three things need to be ready before you open an FTP client:
- The exported site folder, with your homepage named
index.htmlat its top level. The server loads a file called index as the default page, as Kualo's help center explains. Openindex.htmlin your browser once to check that the site works on your computer. - Hosting with your domain pointed at it. If the domain still points elsewhere, set that up first with our guide to pointing a domain to hosting. If you have no paid host yet, our guide to hosting a static website for free compares free options. A static site has no database to move, so the files are the whole job.
- Four connection details from your host.
Here is what each detail looks like and where cPanel and Plesk show it:
| Detail | What it looks like | Where to find it |
|---|---|---|
| Host | Your domain or a server hostname | cPanel: Files > FTP Accounts > Configure FTP Client |
| Username | On cPanel, often [email protected]; on Plesk, the system user | cPanel: Manual Settings; Plesk: Websites & Domains > Hosting & DNS > Web Hosting Access |
| Password | Not always your panel login | The same screens, where you can reset it |
| Port | 21 for FTP and FTPS, 22 for SFTP, unless your host lists another | cPanel: Manual Settings; your host's help pages |
Enter the cPanel username exactly as Manual Settings shows it. cPanel says the format must match for the client to work.
FTP, FTPS or SFTP: which connection to choose
Choose SFTP if your host offers it, explicit FTP over TLS (FTPS) if it does not, and plain FTP only when neither works. RFC 2577, the IETF's note on FTP security, says standard FTP "sends passwords in clear text," and MDN's guide to uploading files says "FTP is inherently insecure, and you shouldn't use it."
The two secure options sign in differently:
- SFTP runs over SSH and is "an entirely separate protocol" from FTP, per cPanel's SFTP guide, which lists port 22 and your cPanel username and password. It adds: "You cannot use an FTP account to connect via SFTP." So the extra FTP accounts you create in cPanel connect over FTPS or FTP.
- FTPS is FTP with TLS encryption, usually on port 21. In FileZilla, it is the Require explicit FTP over TLS option.
Ports vary by host: Namecheap's help center, for example, lists port 21098 for SFTP. cPanel's FTP Accounts documentation adds two rules: always use SFTP for the primary account, and for FTP with SSL, enter the server's hostname rather than your domain, because FTP does not support SNI.
How to upload your website with FileZilla
FileZilla's free edition runs on Windows, macOS and Linux and handles FTP, FTPS and SFTP. Download it only from filezilla-project.org, since its installation guide warns that unofficial copies have contained viruses and spyware. On Windows, the download page says the installer "may include bundled offers," so decline any extras, or pick the zip version from the page's additional download options.
FileZilla shows your computer in the Local site pane on the left and the server in the Remote site pane on the right. Four steps get the site online.
Save your host's details in Site Manager
Site Manager saves your settings for every later update. The FileZilla wiki describes each field:
- Open File > Site Manager (Ctrl+S, or Command+S on a Mac) and click New Site.
- Set Protocol to SFTP, or to FTP with Encryption set to Require explicit FTP over TLS.
- Enter the Host. Fill in Port only if your host lists a non-standard one.
- Set Logon Type to Normal and enter your User and Password.
- On the Advanced tab, set Default remote directory to your web root (such as
/public_html) and Default local directory to your export folder. - Click Connect.
Behind a firewall, choose Passive on the Transfer Settings tab, where Doteasy's FileZilla guide sets it too. Passive is the mode FileZilla's network guide recommends in most cases.
To test your details first, use the Quickconnect bar (start the host with sftp:// for SFTP), then choose File > Copy current connection to Site Manager, as the FileZilla quick guide suggests.
Connect and open your web root folder
After you connect, the Remote site pane lists the folders on your hosting account. Open the web root, the folder your domain serves: public_html on cPanel hosting, httpdocs on Plesk, and www at some hosts, such as Combell. An addon domain or subdomain has its own folder, often inside public_html, so check its document root in your panel before you upload.
Leave everything else on the server alone. Exact Hosting's publishing guide warns against deleting the default files cPanel may place in public_html "unless you are replacing them," and Combell tells customers never to delete its www folder.
Upload the contents of your export folder
Copy what is inside the export folder, not the folder itself. In the Local site pane, open your export folder so you see index.html and the asset folders inside it. Select everything in that list and drag the selection into the web root on the right, as the FileZilla client tutorial shows with an index.html file and an images folder.
If you drag the export folder itself, the whole site lands one level down. Hostinger's upload guide notes that visitors are then sent to yourdomain.com/subfolder instead of yourdomain.com.
If your host left its own index.html in the web root, FileZilla asks what to do with the existing file; choose Overwrite so your homepage replaces the placeholder. Then watch the transfer queue at the bottom of the window until it empties, and read the message log under the toolbar for any errors.
Check that the live site loads
Open your domain in a private browser window. Click through a few pages and check that images, fonts and styles load and that the links between pages work. The last step in Exact Hosting's guide is the short version of this check: visit your domain and confirm that the homepage loads.
If you see your host's placeholder page, a list of files, or pages without their styling, the upload needs one of the fixes in the troubleshooting table below.
How to upload with cPanel File Manager instead
cPanel's File Manager uploads files through your browser, so there is nothing to install. The catch is in cPanel's File Manager documentation: "You cannot upload a folder through this interface." Zip the site first and unpack it on the server:
- On your computer, open the export folder, select everything inside it and compress the selection into one .zip file. Zipping the contents rather than the folder keeps
index.htmlat the top when you extract. - In cPanel, open Files > File Manager and go into
public_html. - Click Upload in the toolbar and add the zip file.
- Back in File Manager, select the zip and click Extract.
- If the files landed in a subfolder, select them and use Move to put them directly in
public_html. - Delete the zip. File Manager moves deleted files to the Trash, so click Empty Trash to remove it for good.
Per the same documentation, Extract works on .zip files only if Zip exists on your server, so if Extract fails, ask your host to install it. Exact Hosting says that uploading one zip and extracting it "is much faster than uploading hundreds of files one by one." For later updates, an FTP client is easier, because it can compare your folder with the server.
Other ways to upload: WinSCP, Cyberduck and your builder's publish button
The host, username, password and port from your panel work in any client, and some builders can upload the site for you.
WinSCP and Cyberduck
WinSCP is a free SFTP and FTP client for Windows that also handles FTPS, SCP, WebDAV and S3. Cyberduck runs on Mac and Windows and supports FTP and SFTP, among other services. cPanel's SFTP guide lists both, next to CoreFTP, and cPanel's Configure FTP Client screen offers a ready-made Cyberduck configuration file.
Pick by your computer and your update habits: WinSCP on Windows, Cyberduck on a Mac, FileZilla on any of the three systems. WinSCP and Cyberduck can also synchronize a folder with the server, which the free FileZilla cannot (see the update routine below).
Publishing from Mobirise by FTP or SFTP
Mobirise can upload the site itself. Click the Publish button in the upper right corner of the app, choose FTP and enter your host details; Mobirise's help page says only FTP, SFTP and FTPS are supported. The same dialog also offers a local drive folder (the export you would upload with FileZilla), GitHub Pages and Mobirise's own .mobirisesite.com hosting.
If you re-publish often from one computer, the publish button saves a step after every edit. Other desktop builders may have a similar option, so check your builder's help pages before you plan around it.
How to fix common FTP upload problems
The table covers seven symptoms. Find yours in the first column:
| What you see | Likely cause | Fix |
|---|---|---|
| Login fails, or the log shows "530 Login authentication failed" | Wrong username format or password, or a pasted space | Type the details by hand, match the cPanel username format exactly, or reset the password |
| Stuck on "Connecting" or timing out | Wrong port or protocol, or a firewall | Check your host's port and protocol, then set Transfer Settings to Passive |
| The host's placeholder page still shows | The host's index file is still in the web root and is served first | Overwrite or delete the placeholder, then reload in a private window |
| A file list or an error instead of your homepage | No index.html at the top of the web root | Name the homepage index.html and move it into the web root |
The site opens only at yourdomain.com/foldername | The folder was uploaded instead of its contents | Move its contents up into the web root |
| Pages without images or styles | Failed uploads, or file name capitals that differ from the links | Re-upload the missing files and match capitals exactly |
| The old version still shows | Browser cache, or a recently pointed domain | Reload in a private window; after a DNS change, wait and check again |
Three details explain these rows. An Apache server serves the first index file it finds and, when none exists, may list the folder's files instead, per Apache's mod_dir documentation. MDN notes that "many computer systems, including most web servers, are case-sensitive," so MyImage.jpg and myimage.jpg are different files on the server. And a stray space breaks a pasted login, which is why web developer Miles Sebesta advises typing your details rather than pasting them.
How to update your site without re-uploading everything
Keep your builder's export folder as the master copy: re-export into the same folder after each edit, then upload only the files that changed. All three clients can find those files:
- FileZilla: choose View > Directory Comparison, pick compare file size or compare modification time, then Enable. Files on one side only turn yellow, and when you compare modification time, green marks the newer copy (FileZilla wiki). Drag those files across. The free edition cannot sync folders. FileZilla's download page lists Synchronization only in the paid Pro editions.
- WinSCP: Commands > Synchronize with the Remote direction changes only the server. Its Synchronize files mode sends new and newer files, and Preview changes shows the list first (WinSCP documentation).
- Cyberduck: choose File > Synchronize and the Only Upload Files option, which sends files that are missing on the server, different, or newer on your computer, once timestamps are turned on in its preferences (Cyberduck documentation).
Pages you delete in the builder stay live on the server until you delete them there too, by hand or with WinSCP's Delete files option. Before a big change, drag the web root from the Remote site pane to the Local site pane to keep a backup.
Which upload method fits your site
For most sites, use FileZilla over SFTP, or explicit FTP over TLS where your host has no SFTP. You save the connection once in Site Manager and reuse it for every update. For a single upload without installing anything, cPanel File Manager with a zip is enough. If you re-publish often from one computer, your builder's publish button, as in Mobirise, saves a step. And if you already use WinSCP or Cyberduck, there is no need to switch.
A browser will not do the job. Chrome turned FTP off by default in version 88 and removed it in version 95, and before that it could only list and download files.
Once the site loads, check it on a phone and on a computer, and confirm that https:// works on your domain; if it does not, ask your host to issue a certificate.
Sources
- cPanel: How to Upload Files with FTP
- cPanel: FTP Accounts
- cPanel: How to Configure Your SFTP Client
- cPanel: File Manager
- Plesk: Uploading Content Using FTP
- FileZilla wiki: Site Manager
- FileZilla wiki: Using (quick guide)
- FileZilla wiki: FileZilla Client Tutorial
- FileZilla wiki: Other Features (Directory Comparison, Export and Import)
- FileZilla wiki: Network Configuration (passive mode)
- FileZilla wiki: Client Installation
- FileZilla: Download FileZilla Client
- MDN: Upload files to a web server
- MDN: Dealing with files
- RFC 2577: FTP Security Considerations
- Apache HTTP Server: mod_dir
- Chrome Platform Status: Remove FTP support
- Namecheap: How do I upload my site?
- Exact Hosting: Publishing your website in cPanel
- Kualo: Where do I upload my website?
- Combell: Upload your website via FTP
- Hostinger: How to upload your website
- Miles Sebesta: How to use FileZilla to launch a HTML website
- Doteasy: Uploading your web files using FileZilla (Windows)
- WinSCP
- WinSCP: Directory Synchronization
- Cyberduck
- Cyberduck: Synchronize Folders
- Mobirise: How can I publish my site online?
Frequently Asked Questions
Are FTP sites still a thing?
Yes. Hosting control panels still create FTP accounts for uploading website files, and cPanel and Plesk both document them in their current help pages. Standard FTP is the weak spot, because it sends your password in clear text. Use SFTP or explicit FTP over TLS whenever your host offers them, and keep plain FTP as a last resort.
Can I still use FTP in Chrome?
No. Chrome turned FTP off by default for all users in Chrome 88 and removed FTP support from its code in Chrome 95, according to Chrome's feature status page, which also notes that Firefox removed it in version 90. To upload a website, use an FTP client such as FileZilla, WinSCP or Cyberduck, or your hosting panel's File Manager.
How do I import sites into FileZilla?
Use File > Import with an XML file exported from FileZilla. On the old computer, File > Export saves any or all of your Site Manager entries, settings and transfer queue to an .xml file you then load on the new one, as FileZilla's wiki describes.
A new host has nothing to import: add it with New Site in Site Manager, or connect once with Quickconnect and choose File > Copy current connection to Site Manager. cPanel's ready-made configuration files cover other clients, such as Cyberduck, rather than FileZilla.
How do I upload an HTML website?
Connect an FTP client such as FileZilla to your host with the host name, username, password and port from your hosting panel, then copy the contents of your site folder into the web root (public_html on cPanel) so index.html sits at the top. Without an FTP client, zip the files and use your panel's File Manager to upload and extract them. If you have no host yet, a free static host is another route, covered in our guide to hosting a static website for free.





