ejabberd - Comments for "computert name or domain" https://www.ejabberd.im/node/2819 en User the 'hosts' option https://www.ejabberd.im/node/2819#comment-51739 <p>This is explained in the ejabberd Guide, and you should read it before asking.</p> <p>The domains served by ejabberd are specified in ejabbed.cfg this way:</p> <pre>{hosts, ["uamin"]}.</pre><p> So, if you want from now to serve a different domain, just put:</p> <pre>{hosts, ["pseb.org.pk"]}.</pre><p>Stop ejabberd, and start ejabberd so the change takes effect.</p> <p>Note that with this change the old domain is not accessible. You can't login to the account user@uamin. And if you create an account <noindex><a href="mailto:user@pseb.org.pk" rel="nofollow" >user@pseb.org.pk</a></noindex>, this new account doesn't have contacts yet, of course.</p> <p>Another possibility is to keep the old domain for testing, for example if you are developing a Jabber client, you can use the account user@uamin to test your program. And add the new domain so you can create accounts and chat with other contacts in Jabber:</p> <pre>{hosts, ["pseb.org.pk", "uamin"]}.</pre> Tue, 05 Feb 2008 10:53:38 +0000 mfoss comment 51739 at https://www.ejabberd.im