Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Masahiro Yasuda
Masahiro Yasuda
25,702 Points

I mistakenly deleted www folder from web server so I made folder "www" and put all my files in it. But it doesn't work.

I was trying to upload my CSS file from dreamweaver to web server(web hosting for students) at first. And I couldn't update my CSS file on the server. So I try to delete index to my img folder under the www folder thus then I mistakenly deleted www folder also. So I quickly make a folder called www and put all my files in. However only I can see is below. http://masahiroyasuda.com

Apache/2.2.24 (Unix) mod_hive/5.0 mod_ssl/2.2.24 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_fastcgi/2.4.6 mod_fcgid/2.3.6 Server at masahiroyasuda.com Port 80

How can I solve this? Or is it possible to reset all my server like when I purchased it?

Please help me.

3 Answers

It's probably something to do with the permissions or there were hidden characters in the "www" folder name. Is there a folder you have named "public_html"?

Masahiro Yasuda
Masahiro Yasuda
25,702 Points

Thank you for the answer
. Unfortunately, I cannot see it...

Well if there is no "public_html" folder, create one and put the www folder in there and see if that works.

Masahiro Yasuda
Masahiro Yasuda
25,702 Points

You are brilliant!! Now I can see my website. I did make "public_html" and put the"www" in it. On the other hand I couldn't see www. so I needed write some code on .htaccess file. I was good practice. Thank you very much for your help. my website: http://www.masahiroyasuda.com

Masahiro Yasuda
Masahiro Yasuda
25,702 Points

Oh web hosting for student reply me and said they reset my server. Still thanks for you help. And it was good study! :)