Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

General Discussion

www vs public html folder

I have always uploaded and installed wordpress to public html folder but in the build a website track Nick recommends uploading html and css files to the www folder. What is the real difference between the two folders and does it matter where you put the files?

Also, if you want to have more than one website in a folder such as www how would you separate them?

1 Answer

Felix lim
Felix lim
6,049 Points

Many small business website owners manage their websites themselves, and if you've spent any time on a web server, even with any of the easy-to-use administration utilities like cPanel, you'll know that much of the functionality isn't exactly self explanatory.

A client I'm working with currently asked what the difference was between the /www/ and the /public_html/ folders on her web server. The answer to that is nothing at all.