How to Delete Files in cPanel

How to Delete Files in cPanel

If you need to delete files in cPanel, whether due to overspace or because you need to clean up malware, and you have never deleted files before, you can follow the short tutorial on this page to delete files in cPanel.

How to Delete Files in cPanel

Before deleting files in cPanel, make sure you can log in to your cPanel hosting. Login information for cPanel is usually sent to your email when you purchase cPanel hosting, or you can ask your hosting provider directly if you did not receive the email.

After successfully logging in, you can start with the first step:

1. Access File Manager in cPanel

The first thing you need to do is access the File Manager in cPanel to manage your files. You can open this page by searching for File Manager in the cPanel search bar.

Cara Menghapus File di cPanel - WPGan - 1.1

2. Find the File to Delete

Once you are in the File Manager, you can open folders and look for the file you want to delete. However, if you receive instructions to delete a file /home/contohnya/public_html/error_log, you can enter the part public_html into the path field in the File Manager and simply find the file to delete

Cara Menghapus File di cPanel - WPGan - 2.1

If the example file is in /home/contohnya/public_html/wp-admin/error_log, then you can open the folder public_html/wp-admin

3. Delete the File

Finally, when you are in the intended folder and have found the file that needs to be deleted, you can right-click on the file and select the option Delete.

Cara Menghapus File di cPanel - WPGan - 3.1

When a pop-up appears, you have two choices regarding whether you want to move it to the trash folder first so it can be restored later. If you want to delete it permanently, you can check the option Skip the trash and permanently delete the files.

Cara Menghapus File di cPanel - WPGan - 3.2

That is an easy way to delete files in cPanel that you can apply to clean up files that are no longer needed, or even malware on your hosting. If you still do not know where large files are located in your cPanel hosting, you can follow this tutorial: How to Find Large Files in cPanel.

Written by

Muhammad Khoirun Nasikin

I enjoy tinkering with WordPress, hosting, VPS, web development, and various small experiments related to websites. I have over 3 years of experience in the web hosting industry.

COMMENTS

Loading...