Skip to content Skip to sidebar Skip to footer

Move From Local Xampp Server To Online Server

I wrote an android app and for development, I used a local XAMPP server. On the server side I use a mysql db and a few php files that contain the queries. On the android side, I us

Solution 1:

You can use any web hosting site, sign up there. and upload your all php files on that server. Create MySQL Database and create all necessary tables on Server.

Use Filezilla for syncing PHP files from server to local or vice-versa.

Solution 2:

You can use heroku for hosting your serverside app. You Just only have to follow the tutorials from heroku and you will get your serverside webservice running in minutes and get URL for your server side webservice.

here is documentation for heroku.

You can also use openshift alternatively.

As for me Heroku works well.

Solution 3:

You can use any shared server to host your PHP server side code and then it can be used with the android application (Don't forget to change the URL in you android application after hosting you PHP code in to server),as @WinHtalkAung you can use heroku to host your server code, you can also try this Fortrabbit, pagodabox, 000webhost

this links are providing free hosting for trail, check before using, and also check this link you may get a idea Some more

Solution 4:

You have several options depending on how big is the scale of your application,for example few PHP pages , no framework ,no need for CLI access and small database i'd go for cheap shared hosting since you are still prototyping it.

But as your application gets bigger and bigger your requirements for hosting will change from shared hosting probably to VPS or Heroku.

Personally I'd go for VPS for more flexibility and remember using Git will make it easier during development for deploying repeatedly after fixing bugs and making changes

Heart Internet UK have reasonable prices I think and this article is useful reading comparing Heroku to other options

Solution 5:

Initially host your code in a git repository provided by github or bitbucket(1-5users) for free of cost. Then try to deploy your app using heroku or other deployment tools on hosted sites offered by many service providers reviewed and listed here .

Otherwise go for rackspace, digital ocean or aws for deploying app on custom environment as like setting up your local environment.

Post a Comment for "Move From Local Xampp Server To Online Server"