Hello There, Guest!

l Register
Current time: 05-03-2024, 12:26 AM
facebook twitter youtube google+ feedburner
  • http://tricksduniya.com
  • Welcome the world of CRYPTO CURRENCY
  • visit daily
  • For Whatsapp Official Group Contact Our Modrate
  • Mr. Paramjit Singh = 08295205000
  • Mr. Mack = 08295943112


Tricks Duniya -ONLINE SHOPPING GUIDE, MOBILE TRICKS, ANDROID TRICKS, HACKING > MOBILE ZONE > Android Zone > How to Set Up a Local Web Server on Android >

 Replies: 2    views: 527
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 How to Set Up a Local Web Server on Android
Download App
09-10-2015, 12:18 PM,
Offline
Webmaster & Programmer
Joined: Jul 2015
Mesajlar : 913
Konular:
Rep Puanı: 5

Points: 406.08₹
Points: 406.08₹
8601402287
#1
How to Set Up a Local Web Server on Android

As web developers, we often find the need to debug and test our websites or applications on the go and need to add a bit of flexibility to our workflow that will increase productivity.

If you fancy running a web server right from your Android device, you should definitely take a look at the "KSWEB" web server for Android.

=> IT INCLUDES ::--

* Lighttpd server v1.4.35 (SSL)
* nginx v1.7.3 (SSL)
* PHP v5.6.2 (SSL)
* MySQL v5.6.19
* msmtp v1.4.32
* Web Interface v1.2

—— Installation ——

Head over to Google Play Store and "KSWEB ". It offers a six-day trial so you can test its features after which you will be prompted to purchase the application for $2.99.
Download it from here ::- https://play.google.com/store/apps/detai...labs.ksweb

—— Configure the Web Server ——

Once you launch the application, the server is started, and you can navigate to “localhost:8080” on your Android device browser or the IP Address provided by KSWEB on your external machine.

However, at this point you will only see KSWEB’s default home page.

The default username and password combination is “admin” and “admin.”

It is recommended that you change the password for security reasons, and you can do so by heading to the KSWEB Web Interface at “127.0.0.1:8001” and entering the default login combination to access the admin area.

Once logged in, select System Settings and change the default password from “admin” to something else.

—— Configure PHPMyAdmin ——

Select the tools tab in the KSWEB, and install phpMyAdmin which is around 7MB. Once it’s done, you will be able to navigate to phpMyAdmin on 127.0.0.1:8000.

To log in to phpMyAdmin, use “root” as the username, and leave the password blank. Once you’re in, it is recommended to change the password.

—— Select a root directory for your site ——

The default root directory is hosted at “/mnt/sdcard/htdocs.” If you want to change this to some other location, perhaps on a micro SD Card, you can do so by selecting the Lighttpd tab and entering the file path you want.

You can also add multiple hosts if you wish to run more than one website on your Android server.

—— Bonus ::: Install WordPress ——

If you’re a WordPress developer, and you want to host a test website on your Android device, you can easily do so with KSWEB. Just follow the following steps ::---

1. Start the KSWEB server (by launching the application).
2. Download the WordPress zip file from WordPress.org .
3. Extract the file to “/mnt/sdcard/htdocs” or the root directory you’ve specified using ES File Explorer or any other third-party tool.
4. Go to phpMyAdmin and create a database for the installation.
5. Visit your WordPress installation page at “http://localhost:8080/wordpress” on your device.
6. Install WordPress as usual.


——— Advantage or Conclusion ———


Having the KSWEB server installed on your Android device is all you need to debug websites, run scripts or perhaps show a client a site under development without having online hosting.

You can also install your favorite tools, frameworks or CMS, such as WordPress, Drupal, Joomla and more through much the same process as described above....

Possibly Related Threads…
How To Install CyanogenMod 13 On Android One Sprout4 Devices
09-10-2015, 12:18 PM
Reply
Download App
09-10-2015, 04:23 PM,
Offline
Junior Member
Joined: Sep 2015
Mesajlar : 1
Konular:
Rep Puanı: 0

Points: 0₹
Points: 0₹
Raj Kumar
#2
RE: How to Set Up a Local Web Server on Android

Nice tut ..
09-10-2015, 04:23 PM
Reply
Download App
09-10-2015, 04:28 PM,
Offline
Webmaster & Programmer
Joined: Jul 2015
Mesajlar : 913
Konular:
Rep Puanı: 5

Points: 406.08₹
Points: 406.08₹
8601402287
#3
RE: How to Set Up a Local Web Server on Android

Ads Code Goes Here
Thankss...
@ Raj0Kumar00
09-10-2015, 04:28 PM
Reply
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  How To Install CyanogenMod 13 On Android One Sprout4 Devices Red 0 433 11-25-2015, 11:33 AM
Last Post: Red
  How to install Google Gapps on Android 6.0 Marshmallow custom ROMs Red 0 472 11-21-2015, 11:07 AM
Last Post: Red
  How to Install CM 13 Rom In Yu Yureka Android Marshmallow 6.0 Red 0 459 11-15-2015, 09:48 AM
Last Post: Red

Forum Jump:

Powered By Mack Doun
© 2015-2024 Paramjit Singh.
TricksDuniya theme TricksDuniya © 2015.