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 trialMike Thomas
Courses Plus Student 1,351 PointsUploading files
I was not able to connect to the server using SFTP for whatever reason, but I was able to connect simply using FTP. There were no files preloaded in cyberduck when I finally opened a connection but I moved forward with uploading my own files anyway. I have uploaded my files into cyberduck however, my website still says there is nothing there and the web site is not displaying. Where did I go wrong?
3 Answers
Garrett Shaler
5,785 PointsMost web servers check to see if you have an index.html file or something similar (sometimes its home.html or something else) to load first. If you do not have an index.html the server does not know what to load when people just type in your URL.
Mike Thomas
Courses Plus Student 1,351 PointsI have an index.html file---i simply downloaded the files from workspace as shown in the video. However, I don't think I uploaded the index.html file FIRST into godaddy. It is uploaded, but it was not the first file I uploaded -- will that make a difference?
Liam English
3,837 PointsIn the root folder of your host's cPanel / FTP file directory, there should a public_html folder.
If not, for some reason, you will need to create the public_html folder, and then place all of your website folders & files inside of it.
This should resolve your issue.
Also, the order in which you upload files does not matter either.