HostMonster Web Hosting Help
File Manager - How to Create, Remove, and Edit Files
File Manager - Creating, Removing, and Editing Files
This article is part of our File Manager tutorial series. Please see the links below if you are looking for a different explanation of the File Manager.
- Accessing the File Manager
- Navigating the File Manager
- Uploading Files
- Creating, Removing, and Editing Files
- Copying and Moving Files
- Compressing Files into an Archive (GZip)
- Extracting Files from an Archive
You will need to have a basic understanding of how to navigate the File Manager in order to complete these tasks. If you are still unfamiliar with the File Manager and how to navigate it, check out our Navigating the File Manager article.
Create a File or Folder
- Login to cPanel and click File Manager.
- Choose to open Web Root and Show hidden files.
- Click the New File or New Folder button at the top of the page.
- In the pop-up box, enter the name of the newly created file or folder. Files will have a name and extension separated by a dot, but folders have only the one name. Files without an extension will be rendered as as generic text document.
- Click the Create New File or Create New Folder button.
Remove a File or Folder
- Login to cPanel and click File Manager.
- Choose to open Web Root and Show hidden files.
- Click and highlight the file or folder you want to remove in the File Listing.
- From the top Toolbar, click Delete.
- Click the Delete File(s) button on the pop-up box to confirm your action.
Edit a File
- Login to cPanel and click File Manager.
- Choose to open Web Root and Show hidden files.
- Locate the file you want to edit in the File Listing; then click and highlight the file.
- Choose one of the three following editors from the top Toolbar:
- Edit - This editor will edit a document as plain text.
- Code Edit - This editor will edit a document as code, and will give line numbers down the side of the editor. You can also color code your code by using the syntax drop-down menu and selecting the code you are working with.
- HTML Editor - This editor will edit a document as an html document. In this editor, you can also switch between a design view (as a text document), a source view (through the html code itself), or a Preview mode (view the page through the web) by selecting the appropriate tab in the bottom left of the editor.
- Once you have selected the editor you would like to use, click Edit from the pop-up window to open the editor in a new window.
- Once you are done editing your document, don't forget to click Save Changes before closing the editor.
Recommended Help Content
This article will walk you through extracting compressed files using the File Manager.
Knowledgebase Article
245,528 views
tags: cpanel filemanager
This article will walk you through copying and moving files using the File Manager.
Knowledgebase Article
268,178 views
tags: cpanel filemanager
This article will walk you through uploading files using the File Manager
Related Help Content
This article will walk you through navigating the File Manager.
Knowledgebase Article
191,223 views
tags: cpanel filemanager
This article will give a basic overview of the File Manager and explain how to access it.
Getting Started Article
474,420 views
tags: cpanel filemanager
I am trying to edit my web page and I have no idea how to? I need to know how to go into the site and fix it. My webpage has a error in the first paragraph. I don't know how to fix it? Can you help?
There are many ways that you can transfer files and folder to and from your hosting account. We highly recommend using an FTP (File Transfer Protocol) program to quickly upload and download files. We
This article will explain how to utilize GZip through the file manager.
Knowledgebase Article
230,805 views
tags: archive compress compression decompress file gzip management zip
This article will explain how to utilize the IP Deny Manager tool in cPanel.
How to use the Posts feature of the WordPress Dashboard