Domain installation FQDNS

Hello, i am new to OPENFIRE, however i have installed locally on my location using a local server, everything seems to be working just fine, the only thing is with spark in order to connect i have to put the ip of the server in order to connect to it, if i use the domain or host name,it wont connect, how do i get people from outside of my local network to connect using a domain? should i run it on a VPS (i have ramnode vps) ? what will be the process. thanks

In general, the procedure is not much different than if you were to setup a web server for others to be able to connect to and use. What have you tried to make this setup work?