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

HTML How to Make a Website Beginning HTML and CSS Follow Along with Workspaces

Doing this away from workspaces

Hey guys,

I want to go through this course and want to use my own domain name and host service so that way it's a bit more customized and fun.

If I purchase a domain name and have another company do the hosting for me, how would I actually go about editing the site in HTML?

For example, if I have GoDaddy hosting the website and have already purchased the domain name, where do I save the HTML file so that way the website is fully visible online? Hope this makes sense. Thanks! :)

2 Answers

Steven Parker
Steven Parker
231,198 Points

Your hosting account will have a folder named public_html where the files for your website will be located. You can edit offline and then upload your files into your account using the file manager available in your CPanel.

You can also enable SSH access in the CPanel, and then login directly to your host with a terminal program such as putty. From there, you can navigate into the public_html folder and edit your html files directly. I know they provide both nano and vim (that's my choice) editors, there could be others.

I use both methods myself, offline editing for extensive development and SSH access for quick changes and testing.

Alejandro Mesa
Alejandro Mesa
9,813 Points

You can work in your computer and upload the files trough FTP to the Server (Hosting). Downside is that usually takes some minutes to update the changes, so you're not gonna be able to check the modifications live. I'll recommend you to check this course: Sharing a Website for more info.

Alejandro Mesa
Alejandro Mesa
9,813 Points

Filezilla , is a pretty realiable and easy to use FTP Client, works for Mac and Windows.