I am developing an online chat application in HTML, CSS and JavaScript. I am using node.js and socket.io to make it work.
I recently realized that I need to host my app on a server. Fortunately I found appFog which is free. I created a account and created a new node.js app. It looks like this:
Now this is where I am confused.
- Why is there a domain name for my app. Do I use this domain name instead of
127.0.0.1
? I currently use 127.0.0.1 as I am testing my node.js in local environment. - Say I want to deploy my app at my own webhost (which is 000webhost). Is that possible? Or do I need to use domain given by appFog?
- Are there any tutorials that explain how to deploy a node.js application on appFog? (for newbs like me)