skip to Main Content

So I have a server running proxmox with 2 vms (2 local IPs), each vm has apache server running, I need to setup 2 domains (one to each virtual machine) and I can’t find a way.
Apache vhost documentation didn’t help neither did google.

Any ideas?
Thank you!

2

Answers


  1. You can create a haproxy cluster with one virtual IP and put back your two apache nodes

    enter image description here

    Login or Signup to reply.
  2. You can look at Nginx Proxy Manager (NPM) and setup proxy to 2+ (unlimited) local VMs with different domain. NPM supports web UI so it’s easier to config.

    The best way is create another VM which for setup NPM then you’re good to go. Using this for 10+ domain and had no complaint about it.

    P/s: I’m not the author of this useful app.

    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search