| Posted on March 16, 2013 at 10:10 PM |
With a webserver, you can access files away from home, share them to family & friends, build your own services, or simply host a small website. If you own any device running Google's Android OS, you can host a webserver easily.
1. Downloading the required software
The first step is to obtain an app from Google's Play Store that can do what we are heading to.
Go to the Play Store on your Android device, and get a webserver app, the app I'm going to use is Fun2Code's PAW Server for Android, which can be found here:
https://play.google.com/store/apps/details?id=de.fun2code.android.pawserver&hl=en
2. Accessing your server
After downloading the webserver app, you'll want to open it. You'll see this:
Now tap on the big button, after that, you'll see your internal IP listed below the button. Now, open up your browser on a computer and head to the address listed on your Android device, it'll ask for login credentials, the default Username and Password are admin and paw, these can be later changed through the Server Settings on your device. After logging in, you'll see your device's stats listed in the site. On the left side bar, you'll find information about your device, but, you can also access your device's file through the Media section, so you can access your files from another device. This page can only be seen if you're conected on the network the webserver is hosted in, in order to view these from another hotspot, you should refer to:
http://portforward.com/routers.htm
3. Creating a website
If creating a website is what got you attracted to hosting a webserver, you can do this easily by modifying the index.xhtml file on your device's files, head to the settings of your PAW Webserver app, tap on PAW Home, then set the directory where your webserver's files will be stored at on your Android device. Now head to the directory you set your webserver's files to be at, preferably using a file explorer app such as:
https://play.google.com/store/apps/details?id=com.estrongs.android.pop&hl=en
You'll find 6 folders inside the /paw/ folder, head to html, you'll find a file called index.xhtml, that file contains the information to be displayed on the webserver, of course, this can be changed to whatever you want, you can create an HTML website from scrap, if you have HTML knowledge, use a website builder software, such as WebPlus, can be found here:
http://www.serif.com/web-design-software/
or, get a quick web template from:
http://www.freewebsitetemplates.com/
Whichever option you choose,you should replace the index.xhtml file with that of yours, after finally, you can refresh your webserver, and see your job, if you want for others to see your site, you'll need to port forward your IP to port 8080,
http://portforward.com/routers.htm
Categories: None
The words you entered did not match the given text. Please try again.
Oops!
Oops, you forgot something.