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.

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.