DNS Resolver for VM Guests

Webees

Member
Dec 6, 2020
3
0
6
41
I have one Public IP and 4 VM as guests. I want to provide the same service on the same TCP port for every VM without using HA PRoxy or any other load balancing method.The reason is that i want to offer standalone functionallity to every VM. To be more specific i have e.g company1, company2, company3 and company4 . I have created DNS entries for every VM both on the Hosting Provider and on the Proxmox /etc/hosts. This scenario doesn't work apparently. Is there anyway for this to be done ?
 
@bobmc Thank you for your reply.
Actually i want to host same service on isolated VMs.For Customer1 inside IP 172.16.2.10 , Customer 2 172.16.2.11. I want to be completely independent . Is there any way to distinguish them by domain name eg. customer1.test.net , custome2.test.net etc. ?
 
As you have only one public IP you will need some form of reverse-proxy which will examine the incoming request and send it to the correct VM
 
As you have only one public IP you will need some form of reverse-proxy which will examine the incoming request and send it to the correct VM
On the PROXMOX level has to be installed and configured ?
 
You could setup this service on another VM in your Proxmox host.

If you could relax the requirement for isolated VM's you can also run multiple websites behind a single host and that might be easier to implement?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!