I want to create an ALB which should route my traffic based on path to different websites. For example.
example.com/apple/ should go to 8080
example.com/grapes/ should go to 8180
example.com/oranges/ should go to 8280
Could you please guide me, how can i achieve this.
What i have tried so far is below.
But this approach is not working and traffic is only working for default route.
LB:PORT/Path/
I do not want port in the URL.
Please help
Here is the way to work with path based routing
As I see a similar question many times so posting screens shoot according to above steps.
Edit and add the instances
Go to AlB and select listener
Add rule and save
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With