Domain Issue on dedicated server with multiple domains

Dear Gurus,

I m having openfire on my dedicated server with mulitple ips and dns lets say . and,

My servers main dns is (), but where I wnat to use openfre for my other host name,,

I have change the property in openfire but unluikly when I m creating new user with using address ,I got user created succuefuly but its using my main dns

with xiff I cant interacted my users , even I m login but it seems like users have differnnce I m login with and want to interact with

Help Required Please.

thanks in advance