The current behavior when spinning up new services is for Render to automatically create and assign a subdomain incorporating the name of the service. This functionality is highly desirable for many users. This config is currently exposed appropriately at the service level.
Render also provides Private Domain resolution at the service level, including automatic SSL generation and renewal. This is an amazing feature.
Building on that core functionality, for Render to take the place of the CI/CD tooling overhead some of us are trying to escape, we would like to be able to manage that domain config at a level above the services, routing incoming traffic to their appropriate services, depending on the path.
For instance, the main static webapp can be served from the root of the private domain, example.com. Requests to example.com/api/
could be automatically rewritten to resolve to api.example.com (or some-internal-ip-address:4000). Building on that example, a more advanced breakout might be example.com/api/v1/micro-service-endpoint/
resolving to micro-service-endpoint.example.com.
The above path-based resolution alleviates some of the complexity of CORS issues with static browser applications making requests to backend APIs, and is a relatively clean way to provide more flexibility in how we leverage Render's core value propositions.
There may be other advantages to exposing private domain management at the meta level rather than the service level, as elements like application security, geographically distributed caching, and multi-service monitoring become even more essential. That meta-level could be an important, possibly critical, element of Render's future as a platform to serve more complex application architectures with less devops overhead.