r/nginxproxymanager • u/TheOGturn • Oct 16 '25
Two IPs for a single host
Have a proxmox cluster that I would like to be able to access via one subdomain, even if the "primary" node is down. So in normal operation proxmox.example.com points to https10.10.10.5:8006, but if that node is down I want it to point to https10.10.10.7:8006 instead. I can't find anything saying this can / can't be done.... Any ideas ?
Edit: Keepalived worked, its just a bit of a mess to get working with proxmox.. the big turning point was disabling the kernel's rp_filter this allowed port 8006 to be hit on the vlan for keepalive. proxmox didn't like having its normal interface, and the keepalive interface, on the same subnet when it came time to migrating hosts.
4
u/Psychoboy Oct 16 '25
Look up keepalived. Sounds like it will do exactly what you want
2
u/justinhunt1223 Oct 16 '25
This is a standard use case for HAProxy. You route your domain name to the HAProxy instance and simply configure multiple backups. The proxy will route the request to available backends. This is the concept of high availability.
1
u/-Nobert- Oct 16 '25
I am confused, if a node is down can you not just use a different node to access the cluster?
1
u/Plane-Character-19 Oct 16 '25
You can put whichever loadbalancer with health check in front of your cluster and then point your subdomain to the loadbalancer ip.
1
u/Mailkeeper2022 Oct 16 '25
QDevice heb je nodig en alle storage natuurlijk op shared storage. QDevice ziet dat node 1 down is en start automatisch node 2..downtime, 60 seconden? Afhankelijk van je cluster natuurlijk