Skip to main content

How to Create a File or Folder in cPanel File Manager

You can create new files or directories directly within your account using the cPanel File Manager. This task is performed by the account user and allows you to organize your website's content or prepare new files for upload.

You can create new files or directories directly within your account using the cPanel File Manager. This task is performed by the account user and allows you to organize your website's content or prepare new files for upload.

Before you begin

You will need:

  • A cPanel account

  • Access to the cPanel File Manager

Create a new folder

  1. Log in to your cPanel account.

  2. Locate the Files section and select File Manager.

  3. In the File Manager, navigate to the directory where you want to create the folder.

  4. Click the +File Manager button (or the New button, depending on your version) in the top toolbar.

  5. In the pop-up window, enter the name for the new folder.

  6. Click Create New Directory.

Create a new file

  1. Log in to your cPanel account.

  2. Locate the Files section and select File Manager.

  3. In the File Manager, navigate to the directory where you want to create the file.

  4. Click the +File Manager button (or the New button, depending on your version) in the top toolbar.

  5. In the pop-up window, enter the name of the file, including the extension (e.g., index.html or style.css).

  6. Click Create New File.

  7. To add content to the new file, select the file in the list and click Edit in the top toolbar.

  8. Enter your content and click Save Changes at the top right of the editor.

Confirm the result

  • For a folder: The new directory will appear in the file list with the name you provided.

  • For a file: The new file will appear in the list. If you edited the file, the content will be saved within that file.

Did this answer your question?