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

JavaScript

How to install nodejs on my paid web host?

I completed Complete Web Developer track, which was great, but all the class examples worked on either the Treehouse's workspaces or on localhost. Now I would like to actually put my newly acquired knowledge live. I would like to develop a web app using NodeJS. I have my paid web host, but how do I install NodeJS service on their server? Actually, as I am going through many of web hosting services, I am not seeing any that have NodeJS available. They all have PHP, but none of them has NodeJS. How do I get it? All lessons were done in the localhost environment, but where is a lesson on how to go live with NodeJS?

1 Answer

I use Dreamhost (and have Node access) but only because I've been using them since I started many years ago. With them you have to have a VPS. You can't have Node with shared hosting. A popular company that I've heard of is Heroku or Digital Ocean. I think you can have Node with them.

Here are some others as well https://seroter.wordpress.com/2013/07/29/where-the-heck-do-i-host-my-node-js-app/

I have Digital Ocean and you can spin up a small nodejs virtual server for $5 per month. I'm in the process from switching over from Dreamhost to Digital Ocean and I'm really liking their service. Tons of great options and a lot of great tutorials for getting different things set up.