This is a question regarding configuring SRV in DNS to add a port number to the incoming connection, and then have the UniFi Gateway route that specific port to a specific LAN address:
abc.domain.com -> 206.x.x.x:1234
def.domain.com -> 206.x.x.x:5678
Then UniFi Gateway to direct the...