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 Pick a Web Host

Ryan Munsch
Ryan Munsch
6,552 Points

Why aren't my CSS files loading to website along with html files?

I ended up buying my domain name and hosting through GoDaddy and their cPanel hosting service instead of NameCheap/Dreamhost because GoDaddy was a bit cheaper. I've followed all of Nick's steps from the video to the best degree possible with through cPanel and Cyberduck but now my CSS files won't upload to my website. When I go to my website all it shows is the HTML. Can someone please help me solve this problem?


Bryce Watson
Bryce Watson
1,599 Points

Without seeing your code it's rather hard to know the answer... One thing that comes to mind is perhaps the file directory has changed, possibly causing the path to your css file to change as well?

1 Answer

Kit Navock
Kit Navock
4,540 Points

I've didn't follow through with this at the time I went through this domain, however I've uploaded a few sites recently. It's a pretty straightforward process.

If all of your files are working locally, it should work online as well. Here's the steps I would folllow:

1) zip your files 2) log into the cpanel 3) go to the file manager 4) select upload file 5) upload the file to your website 6) done (may take a few hours to populate correctly)

If all else fails, call Godaddy. They're pretty good about helping people the the hosting set up.