Set the SHAREJS_HOST env var according to the domain we're running on.
Add a VPS check to 'kernel running' so we don't have to leave it commented out by default.