Skip to main content

Creating and editing a file via cPanel internal File Manager

You can create a file through FTP or SSH, and you can access the descriptions below through the following links:

The following description is just an example of how to create or modify a file with cPanel’s built-in File Manager. Following the description, make sure you create the file at the right place. If you modify it, edit the file you want.

CREATE A FILE

You can create a new file in two ways:

  • VIA ONLINE INTERFACE

    1. Sign in to to https://admin.dotroll.com  with your username and password.
    2. Then, in the top menu bar, click click Services  /  My Services.
    3. Select the hosting service that is associated with the domain name name Addon domain or  or Alias  and then click on it.
    4. On the page that appears, in the the Manage Resource  box on the left, select select File Manager.
    5. After loading, select the document_root folder for the domain name that you want to create the file for. You can access each folder by clicking on the folder name.
    6. Next, click on the the Create new file  button in the middle of the right side of the page.
    7. In the popup window that appears, under the the File Name  box, type the name of the file, then click the the Create  button.
  • VIA CPANEL INTERFACE

    1. Log in to the cPanel interface.
    2. Find and click on on File Manager  in the the Files  box. The File Manager pane will open on a new tab
    3. In the upper right corner, click the the Settings  button.
    4. Select the home directory of the affected domain, then select select Show Hidden Files (dotfiles)  and click the the Save  button.
    5. Click the the File  button in the upper left
    6. Under the the New filename:  label, enter the file name and extension you want to create, and then click click Create New File  button.

MODIFY A FILE

Unfortunately, direct editing of files is only possible with the cPanel interface.

  1. Log in to the cPanel interface
  2. Find and click on on File Manager  in the the Files  box.
    File manager
  3. In the upper right corner, click the the Settings  button.
    File manager - Settings
  4. Select the home directory of the affected domain, then select select Show Hidden Files (dotfiles)  and click the the Save  button.
    Show Hidden Files (dotfiles)
  5. Find the document_root folder for that domain name and include the file you want to edit, right-click and select select Edit.
    Edit
  6. Click the the Edit  button in the window that appears.
    Edit - popup window
  7. In the editor that opens, make the necessary changes
  8. Lastly, save your changes to the word editor by using the the Save Changes button in the upper right corner.