Good day! I am new to these issues, so I apologize in advance if this question is stupid)
There is a server. On it n-th number of virtual machines. On these vm costs tomkat and everyone expands the site (that is, there are 4 sites). I get access to them over a local network, and after forwarding ports through the Internet.
ВМ 1 - 1.1.1.1 ВМ 2 - 1.1.1.2 ВМ 3 - 1.1.1.3 (локальная сеть) ВМ 4 - 1.1.1.4 External IP - 10.10.10.10
- VM 1 - 10.10.10.10:81
- VM 2 - 10.10.10.10:82
- VM 3 - 10.10.10.10:83 (access to deployed sites via the Internet)
- VM 4 - 10.10.10.10:84
I want to access my deployed sites using sub-domains (domain domen.ru purchased). But, when creating a sub-domain, I can enter only ip, without specifying the port (that is, only port 80).
Is it possible to implement sub-domains for each VM with one external ip?