project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

[Feature] Configurable Proxmox node Web UI URL / FQDN suffix

Open mdobprv-lab opened this issue 3 months ago • 2 comments

Got an idea? Nice! 💡 We love hearing what features would make PegaProx better for you.

A friendly reminder: PegaProx is built by volunteers in our spare time. We can't promise timelines or guarantee every feature will be implemented — but every suggestion helps shape the roadmap!

Want to help move things faster?


Describe the feature

Add a supported way to control how PegaProx generates "Open in Proxmox" / Proxmox Web UI links for cluster nodes.

Currently, in my environment, PegaProx generates links such as:

https://pve01:8006/

I would like to be able to make PegaProx generate links using FQDNs, for example:

https://pve01.domainname.local:8006/

Possible implementation options:

  1. Per-cluster Proxmox Web UI base URL / external URL
  2. Per-cluster node FQDN suffix, for example:
domainname.local

so that short node names are converted automatically:

pve01 -> pve01.domainname.local
pve02 -> pve02.domainname.local
  1. Per-node override table, for example:
pve01 -> pve01.domainname.local
pve02 -> pve02.domainname.local
pve03 -> pve03.domainname.local
pve04 -> pve04.domainname.local

Use Case

I am using PegaProx with a Proxmox VE cluster added by management IP:

Cluster host: 192.0.2.101
Cluster name: PRODUCTION
Nodes:
- pve01
- pve02
- pve03
- pve04

The Proxmox nodes are available in internal DNS as FQDNs:

pve01.domainname.local
pve02.domainname.local
pve03.domainname.local
pve04.domainname.local

However, users access PegaProx from different workstations. Some of those workstations do not resolve short hostnames such as pve01, while the FQDNs resolve correctly.

This means the Proxmox Web UI link generated by PegaProx may not work for all users, even though the correct FQDN exists in DNS.

This would be useful in environments where:

  • Proxmox node names are short names inside the cluster
  • users access PegaProx from multiple workstations
  • browser/client DNS suffix search is not consistent
  • the correct access path is via internal FQDN
  • PegaProx is used as a central operations portal by more than one administrator

Alternatives considered

A local frontend patch is possible, for example by appending a DNS suffix to short node names before building the URL.

From local inspection, the frontend appears to build URLs directly from node/host data and port 8006, for example:

return `https://${host}:8006/...`

and in another place:

window.open(`https://${h}:8006/`, '_blank', 'noopener,noreferrer');

However, a local patch would likely be overwritten by PegaProx updates.

Another workaround is to configure DNS suffix search or hosts entries on every admin workstation, but this is hard to maintain when multiple users and multiple workstations are involved.

A supported setting in PegaProx would be cleaner and version-safe.

How important is this for you?

Would improve my workflow.

This is not blocking core PegaProx functionality, but it affects day-to-day usability when PegaProx is used as a central operations portal by multiple administrators.

Checklist

  • [x] I have searched existing issues and discussions to make sure this hasn't been requested before

mdobprv-lab avatar Aug 13 '26 09:08 mdobprv-lab

This is a reasonable ask — linking nodes by their short cluster name breaks the moment a workstation can't resolve it, even though the FQDN is sitting right there in DNS.

Of your three options, a per-cluster FQDN suffix (option 2) is probably the cleanest: it covers the common "all nodes share one domain" case with a single field and no per-node table to keep in sync, mapping pve01 → pve01.domainname.local automatically. The per-node override table (option 3) makes sense as a fallback for mixed environments where the suffix isn't uniform. A full per-cluster base-URL override is the most flexible but also the most manual.

No promises on timing — we're volunteers and the roadmap shifts — but it's a sensible improvement and I've noted it down. Thanks for the detailed write-up, it makes the use case very clear.

(Unrelated, if PegaProx is useful to you: a small donation via https://opencollective.com/pegaprox helps us put more hours into exactly this kind of quality-of-life fix. No pressure at all.)

mkellermann97 avatar Aug 15 '26 07:08 mkellermann97

Done — this is on Testing. Each cluster now has an optional Node URL suffix in the Add / Re-configure Cluster dialog. Set it to e.g. example.local and the "Open in Proxmox" links for that cluster's nodes and VMs point at https://<node>.<suffix>:8006 — so pve01 becomes pve01.example.local:8006. Leave it empty and links behave exactly as before (node IP / host).

Ships in the next release. Thanks for the clear request — the FQDN-suffix option was the simpler, robust route you suggested. 🐾

mkellermann97 avatar Aug 30 '26 16:08 mkellermann97