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

JavaScript

Bob Allan
Bob Allan
10,900 Points

Posting Treehouse Code to cPanel on GoDaddy

I'm really stuck. I'm writing all of this code, and having a great time, but can't get it on the internet.

I've registered a domain name on GoDaddy, but can't figure out how to create a simple page that showcases the HTML/CSS/Javascript combinations that I've created on Treehouse. I do not want to use a content management system like Wordpress for this project. I just want plain, boring webpages that show what my code can do.

Can anyone walk me through these two steps?

  1. Upload my HTML, CSS, and .JS files to cPanel on GoDaddy.
  2. Launch my code to webpages that are visible on the internet.

Thank you in advance for your assistance.

1 Answer

Richard Hall
Richard Hall
9,139 Points

Might I suggest GitHub Pages?

You can host all your code for free through GitHub. There are tutorials here for using Github, as well as an explanation at that link on how to get it going.

As far as using cPanel, you'd have to navigate to your public_html directory using the "File Manager" link. There, you will find an 'upload' button somewhere at the top to upload your files.

Bob Allan
Bob Allan
10,900 Points

Thanks for the suggestion Richard Hall , I appreciate that you took the time to respond to a newbie. I will get started on GitHub Pages tomorrow!

I think I'll use my GoDaddy account to build a Wordpress site, just for practice, unless there is a better way to use my time (?).

Richard Hall
Richard Hall
9,139 Points

It's really up to you however you would like to do it. You can host locally on your computer, or use your godaddy site. I personally am constantly taking my server down to rebuild things using different tech. Best of luck!