computert name or domain

currently i m using uamin (my computer name) as my domain
like admin@uamin
user@uamin

i want to change this into

admin@pseb.org.pk

who can i do this.
im using win XP

waiting for reply

User the 'hosts' option

This is explained in the ejabberd Guide, and you should read it before asking.

The domains served by ejabberd are specified in ejabbed.cfg this way:

{hosts, ["uamin"]}.

So, if you want from now to serve a different domain, just put:

{hosts, ["pseb.org.pk"]}.

Stop ejabberd, and start ejabberd so the change takes effect.

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 user@pseb.org.pk, this new account doesn't have contacts yet, of course.

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:

{hosts, ["pseb.org.pk", "uamin"]}.
Syndicate content