When you change your app's region on Back4app (e.g., from US to EU), the default endpoint parseapi.back4app.com still points to servers in the US.
To ensure your app connects directly to the new region and benefits from improved performance, you should use your app's dedicated subdomain in the following format:
https://your-subdomain-here.b4a.io
What are the benefits of using *.b4a.io?
- Lower latency β Requests are routed directly to the servers in your selected region (EU, India, etc.), avoiding detours through the US.
- Better performance β Faster API response times for your users, especially if they're outside the US.
- Improved availability β More stable connections with fewer network hops.
How to enable and use the *.b4a.io subdomain?
- Go to Dashboard > App Settings > Server Settings > Server URL and Live Query > Settings
- Build your API URL and SAVE.
- Update your frontend and SDKs to use the new endpoint instead of
https://parseapi.back4app.com.
π Example in JavaScript:
Parse.serverURL = 'https://thisisanexample.b4a.io';
What happens if I donβt update the endpoint?
If you keep using parseapi.back4app.com, all requests will continue to be routed through the US, even if your app is hosted in another region. This can cause:
- Increased latency for users outside the US
- Slower API response times
- You miss out on the benefits of regional hosting
Comments
0 comments
Please sign in to leave a comment.