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 trialBob Allan
10,900 PointsPosting 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?
- Upload my HTML, CSS, and .JS files to cPanel on GoDaddy.
- Launch my code to webpages that are visible on the internet.
Thank you in advance for your assistance.
1 Answer
Richard Hall
9,139 PointsMight 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
10,900 PointsBob Allan
10,900 PointsThanks 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
9,139 PointsRichard Hall
9,139 PointsIt'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!