I have branched out your question. No need to revive an old thread with a different question. In your case you have two servers, not one server with many domains (which is not supported). You need to use Server to Server connection, which you can enable in both server’s Admin Console. Then you should be able to add users to contacts in a client from another server. Both servers should have different XMPP domain value.