Can part of a website live on a different server?

Lets say I have a website www.myapp.com,
can I redirect all traffic to myapp.com/api/ to a different server
and all traffic to myapp.com/blog/ on another one?

I don’t want URL to change.
I know that this kind of stuff have to do with load balancing, but I don’t care about load balancing.
I already built a website, and an API as separate services, I want them to live under the same domain name, but different paths. Is this possible?

This probably sounds very stupid but I couldn’t find any resources 🙁
One part of the application is also Dockerized and lives on a different server.

Source: StackOverflow