[ejabberd] Sharing mnesia db between 2 virtual hosts

Thomas Christensen thomasc at thomaschristensen.org
Sun Mar 23 01:41:02 MSK 2008


I have a ejabberd server running on a single domain (virtual host).  I
have recently aquired another domain that I want just to be an alias
for the first domain.  I have change a single line in my ejabberd.cfg:

	{hosts, ["jabber.domain1.tld"]}

to

	{hosts, ["jabber.domain1.tld", "jabber.domain2.tld"]}

This creates another virtual host with its own mnesia db (user db).

Can I make them use the same db?

Sincerely

		Thomas



More information about the ejabberd mailing list