Configure Separate Base URLs for UI and REST APIs

Hi, is there a way to give different base URLs for UI and REST APIs? We have our UI running in a separate server than our REST APIs. But as per the documentation, all the URLs are relative to baseUrl. Is there any other way to point UI URLs to a different server?

Hi @ShenbagaMurugan ,

I don’t think it’s possible.


You could use something like AWS Cloudfront. Depending on path, you can route to different endpoints.

For example, our API responses come from Lambda or an EC2 instance, while UI assets are served out of an S3 bucket.