The cPanel File Manager allows you to inspect and modify files directly on the server without downloading them to your local computer. This functionality is useful for quick checks and minor changes to website files.
Viewing files without editing
If you only need to review the contents of a file, you can open it in view mode.
- Log in op uw cPanel-account.
- Open the Tools pagina.
- In de Bestanden sectie, klikken Bestandsbeheer.
- Locate and select the file you want to inspect.
- Click the View icon in the toolbar.
[Tijdelijke aanduiding voor screenshot: File Manager with View icon selected]
The file contents are displayed in a new browser window in read-only mode. This option is commonly used to review configuration values or verify file content on cPanel hosting services.
Editing files directly on the server
File Manager includes a built-in editor that allows direct modification of text-based files.
Supported file types
The editor can be used for plain text files, inbegrepen:
- Configuration files
- HTML files
- CSS stylesheets
- JavaScript files
Opening the editor
- Log in to cPanel and open Bestandsbeheer.
- Select the file you want to modify.
- Click the Edit icon in the toolbar.
[Tijdelijke aanduiding voor screenshot: File Manager toolbar showing Edit icon]
Selecting character encoding
Before the editor opens, you are prompted to select the character encoding.
- Choose the correct encoding for the file. The default is UTF-8 (Unicode).
- Confirm the selection to proceed.
Selecting an incorrect encoding may corrupt the file contents, especially for configuration files used by applications hosted on cloud-servers.
[Tijdelijke aanduiding voor screenshot: Character encoding selection dialog]
Saving or discarding changes
After editing the file:
- Klikken Save Changes to apply modifications immediately.
- If you do not want to keep the changes, close the editor window without saving.
- Klikken Close to exit the editor.
Edits are applied instantly to the live site. For complex changes or frequent edits, working on a local copy and deploying via an FTP workflow may be more appropriate, particularly for environments similar to Plesk hosting setups.