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

Kristjan Põldmets
Kristjan Põldmets
5,789 Points

My first webpage is not displaying properly (index of/)

Hello,

After uploading my first website, the only thing the site displays, is the "Index of/" thingy. Going straight to "domain.tld/index.html" gives me a 404. I should mention, that I Might have slightly deleted all the default folders and files in my server (might be an issue). I still put the site in a folder named "www".

Any help would be very much appreciated.

2 Answers

Hey,

Just curious, are you using cPanel? to upload your site?

If so you need to ensure that you are uploading your site files into the folder entitled public_html no need to stress it took me awhile to get the hang of it when uploading my first site.

Hopefully this helps.

Stu :)

Kristjan Põldmets
Kristjan Põldmets
5,789 Points

Hey!

I'm using Cyberduck, but that did the trick, thank you very much !

Awesome,

Great to hear that I solved your issue!

Stu :)