2 different servers running the same Discourse instance?

We had bought 2 domains, and i was thinking first the other domain would be used for testing, but I just thought this would be interesting if they could automatically update async sinced its based on JSON api