I have a web application which is in an Amazon EC2 instance, and a domain pointing to a load balancer. The load balancer is forwarding requests to the instance. This is working fine.
Now we have new requirement to develop an API. We developed through API Gateway. But this API also should be in same domain, for example https://domain/API
should hit API Gateway.
Is this possible to configure in load balancer to forward requests to API Gateway? Or any other approach to achieve this?