How to Upload and Manage Website Files in cPanel

File Manager lets you work with hosting files in your browser. Confirm the target website and keep a backup before replacing, editing or removing anything.

Files tools Files tools. Account details are excluded from this view. File manager toolbar File manager toolbar. Account details are excluded from this view.

Steps

  1. Open cPanel → Domains and note the target domain’s Document Root. The main website often uses public_html, but other domains may use different folders.
  2. Open File Manager. Navigate to that document root and check the path before making changes.
  3. To upload, choose Upload and select the required local files. Review overwrite warnings carefully and wait for the upload to complete.
  4. To edit an existing text file, first save a copy outside the public website folder. Select the file, choose Edit, make the intended change and save it.
  5. Use Rename, Copy or Move only for the selected items. Moving a site file can break URLs or application paths.
  6. After a change, test the public site and relevant functions. If a mistake was made, restore the saved copy or use the appropriate JetBackup file restore guide.

Deletion and private files

Deleted files may go to Trash unless you choose to skip it. Check Trash before restoring an older backup, and do not empty it until you are sure the files are no longer needed. A deletion that bypasses Trash may not be reversible through File Manager.

Do not leave database exports, backup archives or credential copies inside a publicly accessible website folder. Avoid changing permissions to 777 to fix an error; ask support to identify the correct permissions instead.

Related help

Further information: Official documentation.

Need help? open a support ticket. Include the affected domain and exact error, but never your password.

Was this article helpful?
Still need help? Open a support ticket and our team will assist you directly.
Open a Ticket

Powered by WHMCompleteSolution