Home CPANEL WEB HOSTING Managing Files in cPanel

Managing Files in cPanel

Last updated on Apr 08, 2024

At the core of your web hosting file management is the public_html directory, where your primary website files reside. Additional domains and subdomains, when added, are allocated their folders, usually within or parallel to public_html, depending on the specified "Document Root."

Online File Manager

The cPanel File Manager provides a user-friendly graphical interface similar to desktop file managers, facilitating easy navigation, editing, and management of website files and directories. Here’s how to leverage it:

  • Access: Find the File Manager link on the cPanel dashboard.

  • Functionality: Utilize it for routine tasks like file viewing and editing, permission adjustments, compressing files, and uploading new files. While File Manager excels at handling straightforward file operations, for bulk or complex tasks, FTP or SFTP might be more efficient.

SFTP and FTP

  • SFTP (Secure File Transfer Protocol): Offers a secure method for file transfer via SSH, enhancing the security of data transmissions between your computer and the web server.

  • FTP (File Transfer Protocol): Facilitates file transfers between your local system and the server, with popular clients like FileZilla providing a robust platform for file management tasks.

  • Configuration and Access: Both SFTP and FTP can be utilized with your cPanel credentials. Hostyt supports FTP hostname via your domain name, with ports designated as 22 for SFTP and 21 for FTP. Additional FTP accounts can be created and managed under the “FTP Account” section in cPanel, where you can specify directory access levels.

SSH (Secure Shell Access)

For advanced users, SSH provides a powerful command-line interface to manage files and execute commands on the server:

  • Access and Configuration: Enabled by default on port 22, SSH can be accessed using your cPanel username and password.

  • Usage: Through an SSH client, users can connect to their hosting space, running commands directly on the server for comprehensive file and system management.

Optimizing File Management Practices

  • “Configure FTP Client”: For those using FTP or SFTP, this option in cPanel provides essential settings for your FTP client, ensuring a seamless connection and file management experience.

  • Path Specification for FTP: When setting up FTP access, defining the desired access path is crucial. For full account access, ensure the path is set correctly, typically starting from the home directory.

By familiarizing yourself with Hostyt’s file management tools and protocols, you can effectively manage your website’s files and directories, ensuring your site’s content is up-to-date and securely managed.