Upload or update a website file
File Manager lets you upload, browse, edit and organize hosting files. Changes to public website files may become visible immediately.
File Manager lets you upload, browse, edit and organize hosting files. Changes to public website files may become visible immediately.
1. Open the intended document root
In cPanel, open File Manager and confirm the folder used by the correct domain. Do not assume every website uses the same public_html directory.
2. Back up the original
Download the file or create a tested backup before replacing, renaming or deleting live content.
3. Upload a file
Use Upload to choose the file, then return to the intended directory. Confirm the filename and file type before overwriting an existing file.
4. Edit a text file
Select a suitable HTML, CSS or text file and choose Edit. Save, reload the website and check desktop and mobile presentation; use source control where available.
5. Check permissions and restore
Permissions govern file accessibility. Do not set public write permissions simply to fix an error. If something breaks, restore the known-good version and check logs.
Planning a business service? Here is a relevant next step.
Explore website design options →Reference: official cPanel documentation (third-party product, linked for attribution). Source reference ↗
