ejabberd - Comments for "Users for multiple subdomains in one single virtual host" https://www.ejabberd.im/node/4187 en jurgenr wrote: we would like https://www.ejabberd.im/node/4187#comment-56498 <div class="quote-msg"> <div class="quote-author"><em>jurgenr</em> wrote:</div> <p>we would like to create users like 'john@client1.ourdomain.com', 'john@client2.ourdomain.com'</p></div> <p>Put in your ejabberd.cfg<br /> {hosts, ["client1.ourdomain.com", "client2.ourdomain.com"]}.</p> <p>And configure a client to login to account:<br /> username: john<br /> domain: client1.ourdomain.com<br /> password: whatever you pick when creating the account </p> <p>You can create accounts in each virtual host, and they are different. For example, another client can login to this other account:<br /> username: john<br /> domain: client2.ourdomain.com<br /> password: whatever you pick when creating the account</p> Wed, 11 Aug 2010 11:23:00 +0000 mfoss comment 56498 at https://www.ejabberd.im