Skip to content
Host4u Limited

Restoring a deleted public_html folder

Support Portal  »  Knowledgebase  »  Viewing Article
There was a problem loading the comments.
  Print

If public_html has been deleted, your website stops working. You can usually get it back yourself.

1. Look in the File Manager trash

Files deleted in File Manager go to the trash first, unless Skip the trash and permanently delete the files was ticked.

  1. In cPanel, open File Manager (in the Files section).
  2. Click View Trash.
  3. Select public_html and click Restore.

2. Restore it from a backup

If it is not in the trash, restore it from your automatic backups:

  1. In cPanel, open JetBackup 5 (in the Files section).
  2. Choose Home Directory.
  3. Pick a backup from before the folder was deleted, and restore only public_html.

See Backups: restoring files, databases and email with JetBackup.

3. Ask us

If neither works, open a support ticket and tell us roughly when the folder was deleted.


Share via
Did you find this article useful?  

Related Articles


Self-Hosted Help Desk Software by SupportPal