Add a virtual host dynamically

Is it possible to add a virtual host programmatically to ejabberd, without manually editing ejabberd.cfg and restart the server??

Not possible right now

No, ejabberd's architecture does not support addition of virtual hosts dinamically.

It is possible to modify the config file, and tell ejabberd to reload it, but in order for the new hosts to be usable, it would be required to start modules, auth methods, register routes, ... and that would require many changes in ejabberd internals.

Syndicate content