How to Upload Website Files Using cPanel Without FTP
Uploading files is an essential part of managing a website. Whether you're adding a verification file, installing a custom application, or transferring an existing website, you need a reliable way to move files from your computer to your hosting account.
Lagrange Point Media (LPM) provides a browser-based File Manager through cPanel, allowing DIY Hosting customers to upload and manage website files without installing FTP software.
This guide explains how to upload individual files, transfer multiple files using ZIP archives, and troubleshoot common upload problems.
1. Accessing cPanel File Manager
-
Sign in to the LPM Client Portal.
-
Navigate to Services > My Services.
-
Select your active hosting service.
-
Open cPanel.
-
Search for File Manager.
-
Click File Manager to access your hosting account's directories.
File Manager allows you to upload, download, rename, move, delete, and edit files directly through your browser.
2. Finding the Correct Upload Directory
Before uploading files, determine where they need to be placed.
For your primary website, the document root is commonly:
public_html
However, additional domains and subdomains may use separate directories.
To locate the correct directory:
-
Open Domains in cPanel.
-
Find the domain you want to manage.
-
Review its Document Root.
-
Open File Manager and navigate to that directory.
Important: Uploading files to the wrong directory may prevent them from appearing on your website.
3. Uploading an Individual File
To upload a file:
-
Open File Manager.
-
Navigate to the destination directory.
-
Click Upload.
-
Click Select File or drag the file into the upload area if supported.
-
Choose the file from your computer.
-
Wait until the upload completes.
-
Return to File Manager and confirm the file is present.
If you're uploading a publicly accessible file, you may be able to access it through your website's URL.
For example, a file named example.pdf placed directly in the document root of example.com may be accessible at:
https://example.com/example.pdf
Whether a file is publicly accessible depends on its location, permissions, and website configuration.
4. Uploading Multiple Files Using a ZIP Archive
If you're uploading a complete website or a large collection of files, uploading each file individually can be time-consuming.
A ZIP archive allows you to package multiple files and directories into one file.
To upload a ZIP archive:
-
On your computer, select the files and folders you want to upload.
-
Compress them into a
.zipfile. -
Open cPanel File Manager.
-
Navigate to the correct destination directory.
-
Click Upload.
-
Select your ZIP archive.
-
Wait for the upload to complete.
Once uploaded, the archive will appear in File Manager.
5. Extracting ZIP Files
After uploading a ZIP archive:
-
Return to File Manager.
-
Locate the uploaded ZIP file.
-
Select the archive.
-
Click Extract.
-
Review the extraction destination.
-
Confirm the extraction.
-
Verify that the files appear in the intended directory.
Pay attention to the archive's internal folder structure.
For example, if your ZIP contains a folder named mywebsite, extracting it into public_html may place the website files inside:
public_html/mywebsite
If you intended the website to load from your primary domain, you may need the actual website files directly inside the domain's document root instead.
Warning: Extracting an archive may overwrite existing files with matching names. Create a backup before replacing files on an active website.
6. Uploading a Complete HTML Website
If you have a website built with HTML, CSS, and JavaScript, you can often upload its files directly to your hosting account.
A basic website might contain:
-
index.html— The main homepage. -
style.css— Website styling. -
script.js— JavaScript functionality. -
images/— Website images and graphics.
To publish the website:
-
Locate your domain's document root.
-
Upload your website files or ZIP archive.
-
Extract the archive if necessary.
-
Confirm that the homepage file is in the correct directory.
-
Visit your domain to test the website.
Important: If an existing index.php or other homepage file is already present, the server's directory index configuration may determine which page visitors see.
Avoid deleting or replacing existing homepage files without understanding their purpose.
7. Uploading Files to WordPress
If your website uses WordPress, the correct upload method depends on what you're adding.
For routine tasks, we recommend using the WordPress administration dashboard.
Examples include:
-
Images and documents: Use WordPress Media Library.
-
Plugins: Use Plugins > Add New > Upload Plugin.
-
Themes: Use Appearance > Themes > Add New > Upload Theme.
File Manager is useful when you need direct access to the website's directories.
For example, WordPress typically stores uploaded media inside:
wp-content/uploads
Plugins are commonly stored in:
wp-content/plugins
Themes are commonly stored in:
wp-content/themes
Warning: Manually replacing WordPress core files, plugins, or themes can break your website. Use WordPress's built-in management tools whenever practical.
8. Understanding Upload Size Limits
Some files may be too large to upload through File Manager.
Upload limitations depend on your hosting configuration and the specific tool being used.
If an upload fails:
-
Confirm that the file is not corrupted.
-
Check that your hosting account has sufficient available disk space.
-
Try uploading a smaller file.
-
If uploading a ZIP archive, verify that it is in a supported format.
-
Contact LPM support if the problem continues.
Note: File Manager upload limits and WordPress Media Library upload limits are not necessarily the same. WordPress uploads may also be affected by PHP configuration settings.
9. Deleting Uploaded Archives
After successfully extracting a ZIP archive, you may no longer need the original compressed file on your hosting account.
Removing unnecessary archives can help conserve disk space.
It can also reduce the risk of leaving publicly accessible copies of sensitive website files or configuration information.
Before deleting an archive:
-
Verify that extraction completed successfully.
-
Confirm that the website is functioning correctly.
-
Download a copy if you need to retain the archive.
-
Remove the unnecessary ZIP file from the hosting account.
Security Tip: Avoid leaving full website backups, database exports, or configuration archives inside publicly accessible directories.
10. Troubleshooting Common Upload Problems
The Uploaded File Doesn't Appear on My Website
Check that the file was uploaded to the correct document root and that the filename and URL match.
My Website Displays a Directory Listing or Error
Your website may be missing an appropriate homepage file, or the server may not be configured to use the file you uploaded as its default index.
My Website Looks Broken After Uploading
Check that all CSS, JavaScript, image, and other required files were uploaded to the correct directories.
Also verify that file paths match the actual directory structure.
The ZIP File Extracted Into an Extra Folder
Open the extracted directory and review its contents. You may need to move the website files into the intended document root.
I Receive a Permission Error
File or directory permissions may prevent an operation from completing.
Contact LPM support if you're unsure which permissions are appropriate. Avoid assigning overly permissive settings such as 777.
11. Getting Help from LPM
If you're having trouble uploading files, extracting archives, or publishing your website, contact our support team.
Submit a support ticket through the LPM Client Portal.
Please include:
-
Your domain name.
-
The type of file you're uploading.
-
The destination directory.
-
Any error messages displayed.
-
Whether the problem occurs during upload, extraction, or when visiting the website.
This information helps us identify the issue more efficiently.
Additional Resource: Official cPanel File Manager Documentation