Hello,
I did not understand your question fully but let me try to answer this question based on my understanding. You want to install 2 different system with different IP and hostname on the same sever. You can achieve same with the help of virtualization. You can create virtual machine's and assign different IP & hostname.
Thanks,
Sunny