Cross domain chat

Hi,

I have 2 virtual hosts (domain1, domain2) in different ejabberd installation.Each domain have different rosters list.

How can users from domain1 be able to see the users from domain2 and how send message from user@domain1 to user@domain2.

How can I make this work? and share the configurations setup.

or Shall I go with single installation with multiple domain.

A user in domain1 can simply

A user in domain1 can simply add as contact timmy@domain2. Of course, the ejabberd that handles domain1 must know where to find domain2 (its IP address). If you set "example.com" as host name, then that will not work, if you set a valid domain name, like domain2.mycompany.com then it should work.

On the other hand, it is easier to administer if you have only one ejabberd serving the two domains.

Syndicate content