HostMobile App - Doc
  • Welcome!
  • App Usage
    • Custom Server
      • Before Run Custom Server
      • Custom Server Authentication
      • How to change web folder and starter page?
  • Default Server & API
    • Before Run Default Server
    • Main Page Default Server
      • Upload Folder To App
      • Shared Preference API
    • Shared Preference API
    • SQLite API
  • Others
    • Privacy Policy
Powered by GitBook
On this page

Was this helpful?

  1. App Usage
  2. Custom Server

Before Run Custom Server

PreviousCustom ServerNextCustom Server Authentication

Last updated 1 year ago

Was this helpful?

First of all, you must set a port for Custom Server. This port should be a port that is not used on your network and that you think will not be used. Do not worry, if the port you enter conflicts with another port on your network, you will receive a warning message.


This application basically works on hosting your web files. So before running the server, make your web files ready and keep them in a folder on your phone.

Then open the advanced settings by clicking "Advanced Settings" on the Custom Server screen. In the settings that open, you will see the "Upload Folder" button. By clicking this button, you can select the folder where your web files are located and start the file copying process of the application.


If the folder copy has completed successfully, you must specify which page to host as the start (home) page when your server starts. To do this, you must click on the box under the "Upload Folder" button.

When you press this button, a pop-up will appear. In this pop-up, all folders you copied will be listed and the files with .html extension in these folders will be listed. You can select the desired HTML file from this list as the start (home) page.

After completing this process, you are ready to start the server!

Set a Port
Upload Folder Button
Change Folder and File Button
Select Folder and File Pop-up