Change of host with the same database ?

Hello,
I'm installing ejabberd on a server (and it runs quite well congratulation !), but this server is going to have a little friend, dedicated to internal web server and jabber server.

I'm thinking :
users are registering with 'name@host2' with server set to 'host1'. I will tell them to change their server name when it'll migrate on host2.
Of course I wrote {hosts, ["host2"]} in ejabberd.cfg

Is there another way for user to create an account now and to be automatically redirect on 'host2' when I'll migrate my server ? I mean that the migration would be transparent ?
I'm waiting for your answer to announce the born of ejabberd on my network.

Thanks and good job !

Syndicate content