I have got 2 applications: Nodejs application and Angular application. I would like to host them both on the same Linux server (Linode). Also I have a DNS record for example : forexample.com. I would like that when I navigate to api.forexample.com it will navigate inside the linux server to the Angular application, and I should see the angular pages. The nodejs application is a API application which I would like other people to make all the HTTP requests to api.forexample.com/api.
So the question is how to make the navigation inside the linux server?