D
D
Dmitry2022-03-01 21:36:47
Network administration
Dmitry, 2022-03-01 21:36:47

How to run two servers on one port in proxmox?

There is a main site mysyte.ru
The essence of this is that virtual machines are raised on proxmox on one nextcloud (cloud) with the address nextcloud.mysyte.ru is spinning, and on the second a video conference server is raised, the address vcs.mysyte.ru is planned, on the router forwarding ports 80 and 443 goes to the cloud
How to make sure that there are two servers on one port and they understand that if you go to the cloud, send to the cloud server if VKS then to the VKS server?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dmitry, 2022-03-07
@ipatov_dn

Thanks to all!
I used https://nginxproxymanager.com/

S
Sanes, 2022-03-01
@Sanes

Nginx/Apache proxy on the conference server. Most likely there is one of these webservers.

D
Drno, 2022-03-02
@Drno

Nginx reverse proxy
All requests to it, different domains/subdomains
And it already redirects to the right virtual machine
Yes, a separate VM. Or directly on the server, as you wish

P
Puma Thailand, 2022-03-02
@opium

Nginxom split via hostname

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question