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 trialSimon Peter Mulima
2,655 PointsWebservers. Are there free to use web servers?
If one was in need of a web-server for their mobile app or web app. Are there free web-servers that can be utilized?
3 Answers
Jonathan Rhodes
8,086 PointsUsually free web hosting has strict limitations. If you are just looking to develop an app before you invest in hosting and in the meantime need a server environment to run in, you can download and use a client like WAMP that will create a local server on your home network, only accessible to you. Or you can do the same thing in node.js entirely in JavaScript. The node.js courses on here will teach you how.
Ana Luiza Barreto Marinho
2,210 PointsGood news, you don't need a free web server, you can just get one to work locally at your computer:
- You just have to download and install mamp (https://www.mamp.info/en/ - works on both mac and pc).
- Once it's installed you go to preferences, web server, select and select the folder in which you put your project files.
**I'm using webstorm to make everything even easier. I do recommend it, it's very good, unless you're just starting, than use something simpler so you can get used to how coding works. To configure webstorm to use a local server you'll need:
- Go to file; settings; build, execution, deployment
- Click on the plus sign to add a new local server
- In the add server window choose a name (any will do) and set type to local or mounted folder, click ok
- Now go to mapings and chose the same folder you chose on mamp
And you're ready to run! :D
Ps:. https://www.jetbrains.com/webstorm/ (this is the link to webstorm, it has a monthly fee of $5.90 (which is not a lot if you ask me), but you can try it for free for 30 days :D.
Jonathan Kuhl
26,133 PointsI've had luck using AJAX offline on Mozilla. The way I understood it, Chrome doesn't like AJAX requests through local files, but Mozilla doesn't mind. I'm not entirely sure what limitations there are (if any) as I'm new to AJAX myself and my code was literally one line of jQuery. But it did work in Mozilla.