Installing discourse on centos/apache and bridging with PHP script?

Can I host a discourse installation outside of my main server and still bridge databases. Host it on a domain just for forums?