First of all, I want to thank you for your informative videos!! They have been very inspiring to me!!
I have successfully setup some servers behind HA, but now comes the problem.
When I put he UniFi controller behind HA, my UniFI devices loses it’s connection with the controller and keeps on typing to adopt with the controller.
I tried several things:
Adding a additional DNS A record on my internal DNS server to reflect directly to the UC.
The UniFi devices are on the same subnet as the UniFi controller.
I’m aware of the port forwards when you want adopt external devices but, that’s not the case.
I’m wrapping my head arround this issue, since al the other servers that I’ve put behind HA work flawlessly.
I don’t think that you have to re adopt the devices, since you’re only changing the way you approach the UniFi controller.
Then you need two different DNS entries, one for the web interface and one for the set inform and other UniFi devices communications. That is how ours is configured with HA Proxy, the 8443 is one DNS entry pointing at pfsense and the controller DNS points at the controller.
Hey, so I have web interface working behind HA proxy, but I don’t know where I put DNS entry for inform? Can I create another HA proxy entry for inform address and port as well?
I want to use domain name as inform address so in case if my ip changes, I can see devices as my unifi devices are at different location than my controller.
No, as Tom already said. The devices must talk directly to the Unifi controller, at least that’s how I understand it.
Not sure if that is possible, but if so you would use a separate subdomain and DNS entry like inform.yourdomain.com that points to the IP of the Unifi controller and then use another subdomain and DNS entry like unifiwebui.yourdomain.com that points to the IP on which HA Proxy is listening.