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

What do I do??

I've put my website up on the internet, but instead of being able to go straight to my website, visitors first see a white page with links to my pages. Why? How can I fix that?

4 Answers

is your home page labeled index.html?

Yes

What hosting company are you using and what does your file structure look like?

The hosting company is Web Hosting for Students. I am too new to this to describe the file structure, but I think it's typical.

Can you provide screenshots of the screen where you uploaded the files and your home page?

Screen Shot 2015-09-17 at 7.41.43 PM

^^Is that what you want?

Morgan, does the page look something like this?

If so, you may have forgotten to upload the .css file OR maybe the links to the .css file in your html file is incorrect (see below).

<link rel="stylesheet" type="text/css" href="LINK HERE">

Yes, it does look similar!

Screen Shot 2015-09-17 at 7.41.43 PM

Do you know how this can be fixed? (Once I click on any of these links, I get my finished website.)

Morgan, did you read my suggestion of how you might be able to fix it??

Also, you are not pasting your screenshots, only their titles. Try uploading the picture to a image hosting site, such as http://imgur.com, and then paste the link here.

Another thing you should do is to copy-paste your code here. Both the HTML and CSS, so we can take a look. Edit your first post above and enter the codes there.

Some webhosts also have an option for the default html file to load and if they use an obscure name like default.html (which I have seen before) that can also cause your directory to list this way. If you FTP and create an index.php file does that fix it, this is a test I will always do to make suer that there isn't an issue with the index file.

I'd also look at the index.html file's permissions too.

I think his problem is with his css not loading. You might be correct though as he hasn't provided any screenshots yet.