How to edit website files using hosting control panel
DirectAdmin
- Go to your client area to the “Services – My Services” section and click the “Open Direct Admin” button;
- The Direct Admin panel will be opened. Go to the “System Info & Files” section and click the “File Manager” button;
- The File Manager will be opened. Find the “domains” folder and click its name. Then click the needed domain folder name and go to the “public_html” folder;
- Move your cursor over the needed file name and click the “Edit File” button in the menu that appears;
- A new window will be opened. In this window you can edit your file and switch editors mode (editor highlights syntax errors depending on the selected mode, which is very helpful for code writing);
- Make the necessary changes to the file and click the “Save” button.
cPanel
- Go to your client area to the “Services – My Services” section and click the “Open cPanel” button;
- The cPanel will be opened. Go to the “Files” section and click the “File Manager” button;
- The File Manager will be opened. Find and mark the needed file using the file manager navigation;
- Click the “Edit” button located in the upper right corner of the window;
- Before you get to the file editor, a file encoding popup will open. If your website uses English and standard characters, click the “Edit” button. If your site uses another language that does not use UTF-8 encoding, select the appropriate encoding and click the “Edit” button;
- Make the necessary changes to the file and click the “Save changes” button.
Files of the main domain of the service are located in the public_html directory.
ISPmanager
- Go to your client area to the “Services – My Services” section and click the “Open ISPmanager” button;
- You can add an alias by going to the section “Dashboard – File manager”;
- The File Manager will be opened. Find and mark the needed file using the file manager navigation;
- Click the “Edit” button located in the top center of the window;
- In the window that opens, you can make the necessary changes to the file, as well as change the encoding;
- Make the necessary changes and click the “Ok” button.
To edit the files of the site you are interested in, you can also go to the “WWW – WWW-domains” section, mark the domain and click the “Directory” button.
Plesk
- Go to your client area to the “Services – My Services” section and click the “Open Plesk” button;
- The Plesk panel will be opened. Go to the “Websites & Domains” section and click the button ”File Manager”;
- Click the name of the file to open it in the editor;
- In the window that opens, you can make the necessary changes to the file;
- Make the necessary changes and click the “Apply” button.