[JBIDE-12574] support multiple domains