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

Why we need SimpleHTTPServer?

Why i need it when i can use the relative path to do it in my own computer why then i need to use this simple server to test my website in my own computer

2 Answers

Strictly speaking you don’t need a server like WAMP or XAMP to host a purely HTML website.

But If you want to go onto designing websites that have server side requirements like PHP and/or a database you’ll need the server to support it.

It’s also a good thing to learn how to setup a server so you can get a better idea how hosting works online.