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
Roger Dailey
14,887 PointsBuying a domain and web host service.
Do I need to purchase a domain and web host service right away to continue with my training or can I wait to purchase these? Money is really tight right now.
3 Answers
Matt F.
9,518 PointsI am not sure what stage of your learning that you are on, but you should be able to build websites without domain/hosting.
All you need for HTML/CSS/JavaScript projects is a computer with a web browser. If you are going to go into PHP, then you would need to configure a local server, using something like MAMP (Mac or Windows). Even if you are not going to use PHP right now, it still may be a good idea to set up such a server. When I was on the PHP track, Treehouse had videos that explained how to set up MAMP/WAMP.
I have used MAMP/WAMP/Vagrant with Laravel Homestead, and now I develop on an Ubuntu virtual machine running LAMP. Out of all of these options, MAMP is what I would consider the easiest to configure.
Hope this helps, Matt
Flavio Carvalho
26,636 PointsHi Roger,
If you're doing your exercises and coding on Treehouse, no, you don't need to purchase server or domain, all your pages can be coded on Treehouse workspaces and you can preview them from there.
If you're looking to eventually make your pages online "to the world" then yes, you will have to purchase hosting and domain name at some point.
But again, just to do the lessons here you don't have to. Guys here were very nice to think of making workspaces a good environment to code and see your work as you go!
Hope that helps.
Roger Dailey
14,887 PointsThank you for responding, this did help me find out if I needed to purchase those for my training. Thank you again.
Flavio Carvalho
26,636 PointsAwesome! Good luck.
Ted Sumner
Courses Plus Student 17,967 PointsYou can also download Brackets, a free text editor, and it will live preview your code in Chrome. If you run PHP you have to have a local server and it will preview your code on save. You do not need to use Workspaces for that.
As Flavio said, you only need those for publishing sites.
Matt F.
9,518 PointsMatt F.
9,518 PointsWhat Flavio said below is absolutely true. If you are looking to follow along with the lessons on Treehouse, then their Workspaces are great.
Also, the information I offer above will not give you the option to put your site online, but instead would give you an environment to develop projects that you wouldn't necessarily want to develop in Workspaces.
Flavio Carvalho
26,636 PointsFlavio Carvalho
26,636 PointsYes, Matt's answer is good if you plan to code websites from your local computer. There are a few more technicalities to set up a local host. But if it's for the lessons, Workplaces just does the trick!
Roger Dailey
14,887 PointsRoger Dailey
14,887 PointsYes this did help thank you for responding.