Jump to content

accidentally deleted public_html directory,please help me restore


Recommended Posts

Posted

i am new to cpanel. my user name is denglan. i accidentally deleted public_html directory when i was managing ftp account because i didn't make any backups. please help me restore my home directory to default status. thanks in advance.

Posted

We don't keep backups of your data, if that's what you're asking. Just make a new public_html and you should be alright.

Posted

there are no data at all. i just sign up for hosting 2 days ago. there are some default files in the public_html directory when the hosting space is setup. i just want these files back. if i make new public_html directory, i can't have these default files back.

Posted
there are some default files in the public_html directory when the hosting space is setup. i just want these files back. if i make new public_html directory, i can't have these default files back.

 

Those default files in the public_html directory are FrontPage extensions and they can be reinstalled at the FrontPage link at your cpanel. The only other default folders are

 

cgi-bin

images

 

btw, when you create your new public_html folder from your home directory you need to set permissions to 750.

 

 

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...