Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Thanks for the tut! Definitely found it useful. Do you have another one that can help me figure out how to set it up like Apache - that is, I have close to 10 domains on my droplet, and I don’t want ALL of them at domain.com:3000 pointing to my node app (I realize this is because node runs on the server IP and all my domains are pointing to the server IP - I just want to be able to make the node apps domain-specific). Thanks again!
@chris: You should have each nodejs app listen on a different port and configure Apache to reverse proxy to them.
See <a href=“http://stackoverflow.com/questions/14259321/apache-node-js-mod-proxy-how-to-route-one-domain-to-3000-and-another-to-8”>http://stackoverflow.com/questions/14259321/apache-node-js-mod-proxy-how-to-route-one-domain-to-3000-and-another-to-8</a>
@gui.ouellet: NPM is automatically installed once you install nodejs using nvm.
This worked fine until "navigate your browser to http://yourDropletIp-or-domainName:3000. I there get “Firefox can’t establish a connection to the server” I turned off my firewall and also checked that http://yourDropletIp-or-domainName/phpinfo.php works fine. But still the same.
I might have missed the command node app but when I try to run that now (…~/socketio-test$ node app) it just says command not found
I had to change “script(type=‘text/javascript’, src=‘javascripts/client.js’)” to “script(type=‘text/javascript’, src=‘…/javascripts/client.js’)” to get it to work properly.
Yes I already had curl but I did sudo apt-get install git and then curl https://raw.github.com/creationix/nvm/master/install.sh | sh Before installing Express I did node -v and got v0.10.20 but now when I run node -v I get -bash: node: command not found