Configuration with Application Deployment - "Share instance" button displays IP instead of hostname on Controller

System Information

Field Value
Operating System Linux - Ubuntu 20.04.6 on x86_64
Product AMP ‘Phobos’ v2.6.0.0 (Mainline)
Virtualization ProxmoxLXC
Application Application Deployment
Module ADSModule
Running in Container No
Current State Indeterminate

Problem Description

Issue

I’m hosting several game servers with CubeCoders AMP, primarily for friends. Although this setup works, I’m experiencing an issue with the “Share Instance” button, where the link generated is inconsistent, and I’m unsure if it’s a configuration issue or a misunderstanding on my part.

I have a setup with:

1 Controller (Linux)
2 Targets (Linux and Windows)
I’ve configured HTTPS using the NGINX setup generated by AMP during installation. The issue occurs when I press the “Share Instance” button on the Controller. Instead of showing the configured Instance Hostname (e.g., example.domain .com:25565), it displays the IP address that the Controller uses to connect to the Target (e.g., 10.10.10.10:25565).

Interestingly, if I press the “Share Instance” button from a Target, it correctly displays the hostname and port as configured under the ADSModule.Network.InstanceHostname.

I’ve tested modifying the Target URL in the Controller’s configuration from http:// ipaddress:8080/ to a locally resolvable DNS name (e.g., http:// wgsm:8080/). After this change, newly created instances display the DNS name correctly (e.g., WGSM:25565), but existing instances remain unchanged, and this still doesn’t align with Instance Hostname specified in ADSModule.Network.InstanceHostname.

Could this issue be due to misconfiguration, or is it a limitation in AMP’s handling of instance sharing on the Controller? I’d appreciate guidance on correct configuration, as well as any insight into AMP’s behavior regarding hostname/IP handling.

Reproduction Steps

  • Connect to controller
  • Press share instance button
  • Observe connection details
  • Connect to target and do the same
  • Edit the Target Configuration and create a new instance and press share

Thank you :slight_smile:

I also created this topic in discord should anyone wish to assist there instead

1 Like

I got the same problem.
It would even be a help if i could set a custom hostname there.

1 Like

I would love if this feature got more work, as I want to just send it into a discord for people to have a nice UI to see all the info for my servers, and make it less rigid, I use SRV records to point to the servers, so being able to directly edit the url fields would be great!

1 Like

Agreed! :frowning:

I see the url to discord points to the non priority support channel, here’s the updated one: