The app that you build in Appery.io can be published as mobile web app. This means the app will be hosted on a server and can be accessed from any browser on a mobile device.
Appery.io platform has the following options:
- Publish on Appery.io on app_name.app.appery.io domain.
- Publish with Appery.io using a custom domain.
- Publish to a 3rd party hosting provider of your choice.
On the app details page go to Hosting section. There you will see two options:
- Publish using app_name.app.appery.io domain
- Publish using a custom domain.
- Use only if you completely understand how DNS (Domain Name Service) works and how to configure it. Any changes you make to your DNS are at your own risk.
Once you select one of the options, simply click the Publish button to publish your app.
Mobile web app hosting.
Change the root A record to the CNAME record of our hosting server: achosting.appery.io.
Or, if adding a new sub-domain, map it so that it points to the same hosting server.
To very settings, you can try to ping your domain. It should be responding to the ping queries from IP address 220.127.116.11
Note that DNS propagation could take up to 24 hours, but in most cases it will be completed sooner.
To be able to use your custom SSL certificate for publishing web app on a custom domain you would need to create a P12 bundle file which will contain your CSR certificate .crt file from CA for your custom domain and a private key secured with password.
OpenSSL example list of shell commands for Windows machines:
openssl genrsa -out <your_domain>.key 2048 openssl req -new -out <your_domain>.csr -key <your_domain>.key -config %CN%.cnf rem openssl req -text -noout -in <your_domain>.csr openssl x509 -req -days %days% -in <your_domain>.csr -signkey <your_domain>.key -out <your_domain>.crt -extensions v3_req -extfile %CN%.cnf openssl pkcs12 -export -in <your_domain>.crt -inkey <your_domain>.key -out <your_domain>.p12 -password pass:%password%
In this example, %CN% is the variable used as the configuration for generating certificates.
After that upload the final P12 file to Account -> Resources -> Import certificate and choose Hosting platform.
Now you can use custom domain publishing with custom SSL certificate for your web app.