Where does the domain name properties save?

I am thinking of running two instances of wildfire on two system but using the same installation from NFS. Is it possible as I am going to use different domain name? I have noticed that wildfire.xml does not save the domainname properties. Where does it save? Can I also use the same mysql database for that matter?

Regards,

wmhtet