Removing Folders from the Home Directory

For web developers and administrators, the relocation and removal of files/folders is a task that likely occurs on a daily basis and can also be the cause of multiple website issues. The following list is intended to dictate the default folders inside of the home directory that should not be altered. The removal, misplacement or relocation of these files and folders can result in multiple issues, including but not limited to 404 errors, disruption of email or a misbehaving control panel.

When managing files on the server, it is always recommended that you create a full directory backup prior and save it to your computer.

cPanel Folders

The folders below are listed in the cPanel home directory by default:

  • /home/username/public_html
  • /home/username/public_ftp
  • /home/username/etc/
  • /home/username/mail/
  • /home/username/.cpanel
  • /home/username/.sqmaildata
  • /home/username/.cpanel3-skel
  • /home/username/.trash
  • /home/username/.sqmailattach
  • /home/username/.htpasswds
  • /home/username/.access-logs
  • /home/username/.tmp
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

WordPress pointing home URL to subdirectory

Pointing your home site's URL to a subdirectory In some cases, you may have a WordPress site...

How to log into cPanel

cPanel is a web hosting account management tool available on all Digicom Linux hosting plans,...

Change cPanel Password or recover lost password

Requesting a New cPanel Password If you have lost or forgotten your cPanel password, you can...

Location of Script Configuration Files

Location of Script Configuration Files These paths are relative to the root of the script, not...

Connect to MySQL Database

How to Connect to the MySQL Database In order for your MySQL database to work as intended, it...