The cPanel File Manager is a powerful visual utility that allows you to control all data assets, web scripts, images, and codebase logs directly inside your standard internet browser, eliminating the need to configure separate FTP client software (like FileZilla).
How to Access the File Manager
- Log in to your cPanel administration panel.
- Under the "Files" application framework, click on File Manager.
- A fresh workspace browser tab will boot up, showing the structural directory tree of your hosting architecture environment.
The Target Root Folder: public_html
In the left navigation layout, you will view core hidden system folders. The single most important directory path for your deployment is public_html. This functions as the public root directory for your primary domain. Any file stored inside this folder becomes accessible on the web when users visit your domain.
- If your primary webpage relies on an index.html build or an underlying WordPress instance, those core files must be uploaded and compiled strictly within the public_html path.
Common Management Actions & Execution:
1. Uploading Files
To transfer a file or web package asset from your local drive to your cloud server storage (such as a template, plugin, or a compressed archive build like `.zip`):
- Navigate directly into the destination folder (e.g.,
public_html). - Click the Upload link located on the top horizontal action layout.
- Drop your archive into the screen drag-zone or hit Select File. Once the progress layout reaches 100% and turns solid green, you can terminate that tab and click Reload on the File Manager toolbar to display the uploaded asset.
2. Extracting Compressed Archives (.zip, .tar.gz)
To maximize efficiency, always pack and upload your code builds inside a single `.zip` file container. Inside the File Manager UI:
- Right-click directly on top of the uploaded `.zip` folder.
- Select the Extract choice line (or execute it via the top navigation controls menu).
- Confirm your targeted installation extraction path and trigger Extract Files.
3. Modifying Source Code Directly inside the Web Browser
If you need to tweak an active configuration line swiftly (such as editing a WordPress wp-config.php script or a server configuration .htaccess attribute):
- Right-click on top of the text or code file you want to adjust.
- Select the Edit command entry from the context menu.
- A character-encoding modal prompt will display (you can safely bypass it by hitting Edit).
- The text editor workspace will open up with built-in line indexing and script syntax highlighting. Apply your adjustments and commit changes by clicking Save Changes at the top right header.
Files that begin with a period, such as
.htaccess rules, are masked out by default. If you cannot spot them in your workspace root, click the Settings button at the top right of your File Manager UI, toggle on "Show Hidden Files (dotfiles)", and click Save.