Can I have web directories on different linodes?
let's say I have two linodes. What I want is that
server.com/linode1 will be served by ngix of linode1 and
server.com/lonode2 will be served by ngix of linode2
is that possible? Is that possible without any redirection?
One way to solve it would be to have one of the linodes serve the request for the whole domain name itself, but it will then need to direct requests to one of the directories to the other linode, either by redirection to another hostname (pointing to the IP address of the other server), or by serving as a proxy between the client and the other linode for that particular directory. However, the latter setup can be difficult to achieve without intimate knowledge of nginx configuration.
Not completely without redirection, no.
I thought it would be the case.
But I can have this without redirection, right?
linode1.server.com and linode2.server.com
Yes, you would point linode1.server.com at one IP address, and linode2.server.com at another.
good. Thank you guys for your help. R.