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.


Gerald Aguirre
Gerald Aguirre
80 Points

When I clicked on preview it takes me to a web page with words "index of /"

There is no files or folder on my workspace, and when I tried to write code it takes to a web page with words "index of /"

Have you tried deleting your workspace and relaunching it from the link with the video?

1 Answer

Steven Parker
Steven Parker
210,989 Points

Some servers, including the one launched by the preview, will display the server folder contents when there is no "landing page" present (usually named "index.html"). Since you have no files, what you are seeing is just the empty listing of the folder contents.

You'll need to create some content for the preview to display anything else. Are you at a point in a particular course where the instructions led you to expect something else? If so, please provide a link to the course video (and an approximate time index).