Android is a smart device that allow users to use lots of things on it. As of now we have discussed lots of hacks and tricks for android. Similarly we are here talking about how to setup a local web server on your android device. You can debug your apps, scripts and see your webpages that you code and lots of things that you want to test before putting it online. So you need a local server where you can test out your codes and for that we have created a complete guide on how to set up this local server on your android by yourself.
How to Set Up a Local Web Server on Any Android
The method is little bit time consuming and will allow you to set up web server on your device where you can even install local editors like WordPress etc and can work on them on your android device very easily.Steps to Set Up a Local Web Server on Your Android
1. Download and install an android app called KSWEB: server + PHP + MySQL on your device, which is free for 6 days and after that you must buy it.2. Now after installing launch the app and get moved to the address localhost:8080 on your android browser and there you will see default page of KSWEB.
3. Now visit the URL 127.0.0.1:8001 that is your admin page and its default username is root and password is also root . After entering admin panel change your username and password for security reasons.
4. Now after setting up different username and password for your local server you are done with setup local machine control and now time to set up phpMyAdmin.
5. Now move ahead to KSWEB app and then there in tools tab install phpMyAdmin and download, it will be around 7MB.
6. Now after installation you will able to navigate to phpMyAdmin at the address 127.0.0.1:8000.
7. Now default username of this admin panel is root and leave the password field blank and log in, And after logging its recommended to change the password.
8. Now if you want to change the default path of root folder then you can do that also as the default path is /mnt/sdcard/htdocs and you can change by visiting Lighttpd tab and then setting up any different path.
9. Now your local web server is ready to run your sites, apps and lots of scripts that you wish to test before taking them online.
Pls like us on Facebook
0 comments :
Post a Comment