Apigee supports the concept of Target Servers -which abstracts the backend host from the proxies and also provides load balancing. Same target servers can be configured to point to different host for each environment.
Hi @vinay poreddy another option is to specify multiple target endpoints and use route rules to route to the right target endpoint based on the current environment you are deployed in.
For eg: you can use the environment.name variable as the conditional element in your route rule:
@vinay poreddy Use named target servers for that. TargetServer configurations decouple concrete endpoint URLs from TargetEndpoint configurations. You define a target server per environment, along with information like host, port, with an additional element to indicate whether the TargetServer is enabled or disabled. So when you move your API from one environment to the other, the target end point it connects to changes automatically. More details on Target Servers here.