FAQ for jabberd14
Is it possible to do virtual hosting with jabberd14?
Yes, it is possible to configure jabberd14 to offer its services on different domains, having different user accounts on every domain.
Search for the <host>…</host> element in
the configuration file inside the
<service id='sessions'>…</service> section.
You can add multiple instances of this <host/> element inside this
service, the server will offer its services on any of these domains.
Is it possible to have different configuration for the different domains when using virtual hosting?
Yes, this is possible. Search for the
<service id='sessions'>…</service> section in
the configuration file. Make a copy of this section in the same
configuration file just after the first instance of it. Give both sections
a different id, e. g. name your
copy sessions2
.
You now have two different instances of the session manager and can
configure them differently, allowing user registration only on one instance,
showing different transports, or other things. Configure each domain in
that instance, that has the configuration you want to use for this domain.
Sure you can also have more than two copies of the session manager if you
need.