How to create a new file or folder in cPanel File Manager? (Video)

Creating a new file or folder in cPanel File Manager is simple and can be done directly from the File Manager interface. Here's a step-by-step guide.


Step 1: Log in to cPanel

  1. Open your web browser and navigate to your cPanel login page (e.g., https://yourdomain.com:2083).
  2. Enter your username and password, then click Log in.

Step 2: Open File Manager

  1. In the cPanel dashboard, scroll down to the Files section.
  2. Click on File Manager.

Step 3: Navigate to the Desired Directory

  1. Once the File Manager opens, locate the directory where you want to create the new file or folder.
  2. For example:
    • Public_html: If you want the file or folder to be accessible on your website.
    • Custom Directories: For organizing other files.
  3. Double-click the directory to open it.

Step 4: Create a New File

  1. At the top of the File Manager interface, click the + File button.
  2. A pop-up window will appear asking for the file name and location.
    • File Name: Enter the desired file name, including the extension (e.g., index.html, style.css, script.js).
    • New File Will Be Created In: Confirm the directory where the file will be created.
  3. Click Create New File.

Step 5: Create a New Folder

  1. To create a folder, click the + Folder button at the top of the File Manager interface.
  2. A pop-up window will appear asking for the folder name and location.
    • Folder Name: Enter the name of the new folder.
    • New Folder Will Be Created In: Confirm the directory where the folder will be created.
  3. Click Create New Folder.

Step 6: Verify the Creation

  1. Refresh the directory to ensure the new file or folder appears.
  2. For files, you can click on the file name to edit or add content.
  3. For folders, double-click to open and organize files inside.

Tips for File and Folder Creation

  • Use Meaningful Names: Choose descriptive names for better organization and clarity.
  • File Extensions: Ensure the correct file extension is used (e.g., .php, .html, .txt).
  • File Permissions: Set appropriate permissions for the file or folder after creation (e.g., 755 for folders, 644 for files).

By creating new files and folders in cPanel File Manager, you can easily manage your website's structure and content.

 
  • 123 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

How to Download Backup using cPanel? (Video)

Downloading a backup using cPanel is a straightforward process. Here's a step-by-step...

How to generate a cPanel backup and sent it to FTP Server? (Video)

Generating a cPanel backup and sending it to an FTP server is a straightforward...

How to restore a backup in cPanel? (Video)

Restoring a backup in cPanel is straightforward and allows you to recover your website’s data...

How to change an account password in cPanel? (Video)

Changing an account password in cPanel is simple and can be done in a few quick steps. Follow...

How to update your contact information in cPanel? (Video)

Updating your contact information in cPanel is important to ensure you receive critical...