Upload your website with File Manager
Put your website online from your browser with cPanel File Manager. Where the files go, how to upload a zip and extract it, and why the index file matters.
Last updated 2 min read
File Manager is the part of cPanel that lets you put website files online from your browser. You need no extra program.
Where your files go
The folder public_html holds the website of your main domain. Whatever you put there opens on your domain. A second domain or a subdomain has a folder of its own; Domains in cPanel shows it as the document root. See Add a domain or subdomain in cPanel.
Upload files
Log in to cPanel and open File Manager.
Open the folder
public_html.Press Upload, then choose the files or drag them into the window.
Wait until every upload bar is complete, then follow the link back to the folder.
Upload a whole site as a zip
Uploading many small files one by one is slow. One zip file is quicker.
On your computer, put the website files into one zip file.
Upload the zip to
public_htmlas described above.Select the zip in File Manager and press Extract. Check the folder shown, then confirm.
Press Reload to see the new files.
Delete the zip when you are done, so it does not use your disk space.
If the files land in a subfolder (for example public_html/mysite), your site opens at yourdomain.com/mysite and not on the domain itself. Open that subfolder, press Select All, then Move, and move the files up into public_html.
The index file
When someone opens your domain, the server looks in the folder for a file named index.html or index.php. Name your home page exactly like that, in small letters. Without an index file, visitors see an error page or a plain list of files.
Good to know
File names on the server are case-sensitive:
Photo.jpgandphoto.jpgare two different files. The links in your pages must match exactly.Files that start with a dot, such as
.htaccess, are hidden. To see them, press Settings in File Manager and tick Show Hidden Files (dotfiles).To change a file, select it and press Edit. Download a copy first if you are not sure.
For a very large site an FTP program is often more comfortable; see Connect to your hosting with FTP.
Stuck? Open a ticket in Support, department Technical, category cPanel. See Open a support ticket.