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 trialJoseph Lowe
Courses Plus Student 2,170 Pointslocalhost/
what is localhost/? how can I access it so I can follow along with with nick on my lesson? do I have to purchase a web server first? I didn't do that yet because I'm waiting until after my track to better understand html & css.
2 Answers
Andrew Shook
31,709 PointsLocalhost is just the name that apache uses to identify the machine that it is installed on. You don't need to buy a web server, since there are plenty of software packages out there that you can install on you computer to make it act like a server. What operating system are you using?
Joseph Lowe
Courses Plus Student 2,170 Pointsmac os x(macbook air)
Andrew Shook
31,709 PointsYou can download MAMP here. Once you install it, put your website inside the htdocs folder inside mamp(if you go to application and like on mamp you will see it there). However, it you're just using html at the moment you shouldn't need mamp. If you right click on the file in finder and open with chrome/safari/firefox it should display the web page for you.
Joseph Lowe
Courses Plus Student 2,170 PointsJoseph Lowe
Courses Plus Student 2,170 Pointsok so I can just download apache for mac os x? nice business site by the way!
Andrew Shook
31,709 PointsAndrew Shook
31,709 PointsActually, OSX already comes with PHP, MySQL and Apache installed (they are built into the OS). However, unless you has a good grasp of the command line I would just use mamp.