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

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.