How to move Openfire to another server?

I have installed a Openfire server to a computer A, the IP is 86.0.190.5, server name also is 86.0.190.5,so the user address is user@86.0.190.5.

Now I want to move the openfire to another server B, IP is 86.0.191.8, And I like the new user address is user@abc.com.

How to do it but not delete all the users and rosters? Use user import and outport to save all users to xml file and the search 86.0.190.5 and replace to abc.com, then import it to new server? I do not know if it can do.

Thanks.

search and replace the roster and then told users to use new name (user@abc.com) to login?

Hi,

changing the xmpp.domain within the server and the database / rosters should be fine for 99%. If you have MUC history or offline messages in the database you may need to change the server name also there.

LG

Thanks, I will have a try.