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/.fantasticodata
  • /home/username/.htpasswds
  • /home/username/.access-logs
  • /home/username/.tmp

Plesk Folders

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

 

  • /var/www/vhosts/domain.com/httpdocs
  • /var/www/vhosts/domain.com/anon_ftp
  • /var/www/vhosts/domain.com/cgi-bin
  • /var/www/vhosts/domain.com/error_logs
  • /var/www/vhosts/domain.com/httpsdocs
  • /var/www/vhosts/domain.com/private
  • /var/www/vhosts/domain.com/statistics
  • /var/www/vhosts/domain.com/subdomains
  • /var/www/vhosts/domain.com/vault_scripts
  • /var/www/vhosts/domain.com/web_users
  • /var/www/vhosts/domain.com/.Security
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to import your MySQL database

How can I import a database? Go to phpMyAdmin Click the new database name in the top left...

If I change my cPanel password, will it affect my other passwords?

The main username and password are the same for cPanel login, FTP login, and MySQL database...

Optimizing Google Web Crawling Frequency

Telling Google How Often To Crawl Your Website Google uses sophisticated algorithms for...

WordPress Super Cache plugin

WP Super Cache is a plugin for WordPress that generates static HTML pages from your dynamic...

Learn cPanel

These are great resources we hope will help:Video Tutorials by cPanelOfficial cPanel User...