Login in different domains

Hi, ive a openfire fully working, but it was configured using the server name as the local ip (10.0.0.x). I would like to enable internet access to this openfire. There is a way to enable my users to log in more than one domain? example: user@10.0.0.x and user@openfire.com.xx (both users logining at the same server)

Maybe changing the xmpp.domain?