What is the Difference between Path-Based and Host-Based Routing?
Path‑based routing directs traffic using URL paths (e.g.,
/api), while host‑based routing uses the request’s hostname (e.g., api.example.com) to choose the backend service.