Why is my public_html folder suddenly empty?

There can be several reasons for why your files seem to have suddenly disappeared.

Deleted manually

It is possible someone logged in to File Manager and deleted or moved the files. Check you other folders and check outside of public_html.

FTP access used

If you gave FTP access to someone, they do have the power to delete files. They may have accidentally downloaded the files without leaving a copy, although it is not an easy mistake to make.

Accessing the wrong account

This mistake is much more common than you think. Be sure you are using your cPanel user name, and not "root". This especially applies to those using SSH access.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to log into cPanel

cPanel is used for managing your web hosting account and available on all Webbyklet Linux...

How to Connect to the MySQL Database

Host name = localhost (literally put localhost) Database name = (cpanelUsername_databaseName)...

How do I use shared SSL to access cPanel ?

Use https and our IP address, followed by the secure port number:...

How do I create and remove an Addon Domain?

An addon domain is a secondary domain hosted on a cPanel account. Addon domains typically have...

How to change DNS zones (MX, CNAME, and A records)

  Shared: With cPanel 11.25, you now have access to make some of these changes. Note: This...