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
Mustafa Kachwalla
1,547 Pointsviewing test websites
Hi
This is probably a very stupid question but how does one look at a website that you are building/have on your own machine (rather than a server/URL). Going through the various learning tracks and soon I will need to practice what I've learnt by attempting to build a simple site!
Also I have a website built in PHP and have downloaded all the files locally and wouldnt mind using that as a learning tool (ie play with the non-live site docs).
Thanks
4 Answers
Maximiliane Quel
Courses Plus Student 55,489 PointsYou install a local server on your computer.
If you are a Mac user best idea is MAMP like so link if you are using Windows you an install XAMPP as described in the video after.
once you have the the programme installed you can add your site folders into the Apache web folder run the server and voila you can view your site in a browser php and all.
Mustafa Kachwalla
1,547 PointsThank you Maximiliane - is the the MS Webmatrix the same thing? Or should I just go ahead and use this XAMPP (I have Windows 7)?
Maximiliane Quel
Courses Plus Student 55,489 PointsI'm not familiar with webmatrix. It looks more like a text editor to me. Sorry. I would go ahead and use XAMPP can't hurt.
Adam Sackfield
Courses Plus Student 19,663 PointsNo problems with XAMPP since I started using it.
Mustafa Kachwalla
1,547 Pointsthanks to you both - I think Webmatrix is a bit more than a text editor but I will download XAMPP as you both say, it cant hurt!!