There are 3 physical web servers in the local network, external IP and domain. Port 80 is forwarded to one of the web servers, the other two are only available on the local network. How can we configure the web server so that when we try to log in, for example, through the mail.domain.com
subdomain, which is physically on the second web server ( domain.com
is loaded from the first server), you can get the site from this second web server (and all same for third and subsequent) which is available only on the local network.
Tell me which way to dig, what topics. Maybe there is a link to something similar.