Installing 2 Openfire Instances On same server with different domain

I have installed two instances of openfire on same windows server 2008 R2.

One instance is running with ports 9090,9091 and other one is working on 9098,9099. I have done first installation on ports 9090 and 9091 and used the domain name with this installation and it is working fine with live url.

Now when i have installed second instance , if i try to launch admin and it is working fine on localhost at 127.0.0.1:9098 but when i have tried to use the live domain name with this second installation , it is saying the site can not be reached , i have even changed the port 5222 with some other port for second installation.

Can anybody please help what would be the issue and is there any other solution i can use second instance on same same server.

Thanks

you’ll likely need to use multiple ip address, then bind each instance to the dedicated ip.