Skip to documentation
Catholic Web HostingDocumentation & knowledge base

cPanel essentials

Manage website files in cPanel

Find the correct document root and upload or edit files with File Manager.

Before you begin

Back up the files you will change. Confirm the domain's document root; the primary site's files often live in public_html, while additional domains can use another directory. Do not edit a Git-managed deployment through File Manager unless its deployment process supports that workflow.

Use File Manager

  1. Open cPanel and search for File Manager.
  2. Open the intended domain's document root.
  3. Use Upload for files. For a folder, upload an archive and use Extract in the correct destination.
  4. Select a file and use Edit for supported text files. Preserve its encoding.
  5. Open the page in a browser and verify the result.

Recovery and troubleshooting

If a page breaks, restore your saved copy. File Manager can move deletions to Trash; use View Trash to inspect recoverable items. Do not empty Trash until you are sure the files are no longer needed. Check the document root, filename, and browser cache if an upload does not appear.

Reference: cPanel File Manager.

Related guides

Choose a PHP version for your website

Create a database for a website

Need a hand? Contact hosting support.

Chat with us

Bleeps for agent replies and successful sends while this page is open, including when chat is minimized.

Please fill out this form to start chatting.