Get backend domain automatically