InMotion Hosting Support Center

Default Folders and Files in public_html Directory

Category: File Management

InMotionFans
n/a Points
Asked:
2015-02-26 2:38 pm EST

Hits: 6,328
Hello,

I want to clean my public_html folder and need to know which folders or files must remain in there by default.

Thanks...

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Hello,

I accidentally deleted
.htaccess
php.ini
folders for any addon domains or subdomains
404.shtml, etc
robots.txt
favicon.ico
from my public_html is there a way to re-upload these files? I am using BlueHost and File Manager.

Thank you,
Danielle
dg9412
0 Points
2017-06-15 10:29 pm EST
Danielle, if you have a backup you can <a href="http://www.inmotionhosting.com/support/website/managing-files/how-to-upload-files-server">upload your file via the File Manager</a>.
CaseyB
2,858 Points
2017-06-16 10:41 am EST

OTHER ANSWERS

1

John-Paul
Staff
31,376 Points
2015-02-26 3:08 pm EST
Hello,

Thank you for contacting us. There is nothing in the public_html folder that is required by us, but it may be a good idea to keep the php.ini file. This is because it allows you to make changes to the servers default PHP settings. Also, any folders required for addon domains/subdomains.

If you have any further questions, feel free to post them below.

Thank you,
John-Paul

You must login before you can post a comment about this answer.

I also found this info which may help others...

cgi-bin
.htaccess
php.ini
folders for any addon domains or subdomains
404.shtml, etc
robots.txt
favicon.ico
index file (index.html, index.htm, index.php, etc.) for a visitor to enter your site
scoobydoolala
8 Points
2015-02-26 3:48 pm EST
Like this Question?

Support Center Login

Our Login page has moved. Please click the button below to be redirected to the login page.

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!