I have moved my express site on to a free tier Amazon EC2 Server.
I want to have the server live however the only way I know how to run the site is via SSH (via Putty), although the problem with this is that as soon as Putty closes the site is down.
Is there a way around this?
The problem you’re (probably) having is that you’re not running it as a background process.
The correct solution is to convert the process to a daemon, or something similar.
See: Node.js as a background service and https://github.com/nodejitsu/forever