I got all the steps from the article and followed to do the same on the Android phone.
Now my question is will I be able host some web pages and use Android phone as a web server. If any one tried please let me the solution for hosting web-site and the performance.
127.0.0.1. But, Does anyone tried to use phone as a fully fledged web server, I mean to get an address of external IPv4?
I wanted to do something similar with a little more flexibility. I wanted to be able to run any kind of server on my android.
This is the approach I went with.
Since you have a full debian distribution on your phone, what you can do with it is limitless. I was able to setup remote desktop with an ssh server, allowing me to remotely manage the debain server on my android. In your situation, you could setup a web server or even use node.js for your web server on your android.
Hope this helps :)