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

HTML How to Make a Website Sharing a Website Upload the Website

Isaac Asante
Isaac Asante
4,752 Points

Difference between Public_HTML folder on web server and WWW. folder?

Hey, I noticed that in the Upload the Website video, Nick uploads the website's files in the WWW folder through CyberDuck, in which he deleted the cgi-bin folder. He did not placed the files in the public_html folder that was in the root folder.

I guess this is only because he wants the eventual website to have "www," as the subdomain, right? Just puzzled...

1 Answer

John Breiner
John Breiner
6,918 Points

Ok, some servers have it set up so that www points to www.yoursite.com and public_html just to yoursite.com. That's not usually the case though. Usually one of them is just an alias for the other and it doesn't matter which one you use.