All Backendless apps have the ability to add a single custom domain for app hosting and API endpoints. Now, you may add additional custom domains to your application.
Upon creation, every new Backendless application is assigned a subdomain under the
backendless.app domain. By default, this subdomain is the endpoint for all API operations.
You may also assign one or more custom domains for your Backendless app. Additionally, your custom domains may act as the endpoints for Backendless APIs and in the URLs for the files you upload in Backendless.
To manage custom domains for your application, navigate to Manage > App Settings > Custom Domains.
In this section of Backendless, you can perform the following functions (right to left on the screenshot above):
backendless.appsubdomain for “File Repo access”. If you do not have a custom domain, or if you delete the custom domain with File Repo access, your repo access URL will default to your
To use a custom domain for the API calls, the structure of the endpoint is:
Let’s take a look at an example. Consider the following custom domain configuration:
To retrieve data from a table called
City using that custom domain, you will use the following REST endpoint:
Your custom domain can also be used to address files deployed in your application. The format of the file reference URL is:
For instance, consider the following file. The application housing this file has the
www.backendless.us domain configured:
Notice the filename is
salad.jpg and it is located in the
Root\pictures\Food directory. To access the file with custom domain, the URL is:
Before configuring a custom domain name in Backendless, make sure to:
develop.backendless.com(for the apps in the North American cluster)
eu-develop.backendless.com(for the apps in the European Union cluster)
You can view the full documentation on Custom Domains here.
Multiple custom domain support is just one of the new features in this release. You can read our articles about the other new features released below:
Thanks for reading and Happy Codeless Coding!