Given an integral domain $D$, there are several ways how to construct a new integral domain related to D. For example, one can consider a ring of polynomials/formal power series/formal Laurent series in one/two/infinite indeterminates, a localization $S^{-1}D$, where $S \subseteq D$ is some multiplicatively closed subset, etc.
Note that all these constructions "depend" only on one domain, i.e. $D$.
In the case of general rings, there is in a way much more possibilities: Since category of rings is both complete and co-complete, one can consider limits/colimits of arbitrary diagram in $\mathcal{Ring}$. In particular, it is possible to have products of arbitrary nonempty family of rings. This is, however, almost never an integral domain (i.e. if the family contains at least two rings).
So the question is the following:
Is there some universal construction, which, given two or more abstract integral domains, produces a new integral domain, related to the given ones?
By abstract domains I mean that the construction does not assume some relation between the domains (i.e. one doesn't need to be, for example, subring of the other, so that the construction would produce some ring in between).
By universal I mean that the construction does not assume much about the structure of the given domains except the fact that they are domains (for example, does not need them to be of the form $F[x], K[x]$ for some fields $F,K$). (In fact, if the "initial" rings were not domains and the resulting ring would be, such construction would interest me as well).
Edit: An example I encountered is: Ultraproduct of collection of integral domains is again an integral domain. This construction satisfies the conditions universal and abstract as I described them, however, it can give a "new" domain only if we consider infinite collections of domains. Another interesting example is mentioned by Zhen Lin in comments.