Customer documentation
File Manager
Use cPanel File Manager safely: understand public_html, document roots, uploads, permissions, and common file problems.
Files and document roots
Most simple cPanel sites serve files from public_html. Addon domains and subdomains can use different document roots, so confirm the domain mapping before replacing files.
- 1Open cPanel and choose File Manager.
- 2Open public_html for the primary domain, or the configured folder for an addon domain or subdomain.
- 3Upload or edit files only in the folder that belongs to the domain you are changing.
- 4Keep a backup before replacing an existing site.
- 5Clear application, browser, or CDN cache if old content still appears after the upload.
Upload workflow
File Manager is the simplest way to upload a small site or replace a few files. For larger sites, FTP or a migration process may be more reliable.
- 1Back up the existing site files before replacing anything.
- 2Open the correct document root for the domain.
- 3Upload the new file or ZIP archive.
- 4Extract archives only inside the intended document root.
- 5Confirm index.html, index.php, or the app entry file is in the correct folder.
- 6Load the site in a private browser window and clear cache if old content still appears.
Edit files safely
File Manager can edit text-based files directly in the browser. Use this for small changes only. For bigger changes, edit locally, test, then upload the finished file.
- 1Download the file before editing so you have a copy to restore.
- 2Open the file in File Manager and choose Edit or HTML Editor only when you know what kind of file it is.
- 3Make the smallest possible change and save.
- 4Reload the site in a private window to confirm the change.
- 5If the site breaks, restore the downloaded copy or undo the exact edit.
ZIP files and extraction
Uploading a ZIP and extracting it on the server is faster than uploading hundreds of small files. The important part is extracting into the correct folder.
Common file areas
Permissions and edits
Permissions determine whether the web server can read or run files. Avoid changing permissions broadly unless support asks you to.
- Download a copy before editing important config files.
- Do not delete unfamiliar account-root folders.
- Avoid setting folders or files to fully public write permissions.
- If a change breaks the site, restore the previous file or open a ticket with the exact path you changed.
Permission reference
File permissions are shown as read, write, and execute permissions for owner, group, and public. The cPanel File Manager permissions tool lets you change these, but broad public write access is rarely appropriate.