Theorem: Let $h$ be a real Riemann integrable function on $[a,b]$, and let $f$ be a bounded real function on $[a,b]$. Then $f$ is Riemann-Stieltjes integrable with respect to $H(x)=\int_a^x h(t)dt$ iff $fh$ is Riemann integrable on $[a,b]$. And, in that case,
$$
\int_{a}^{b}fdH = \int_{a}^{b}fhdx.
$$
Proof: If you have an augmented partition $\mathcal{P}$ of $[a,b]$, then
$$
\sum_{\mathcal{P}}f(t_j^*)\Delta_j H-\sum_{\mathcal{P}}f(t_j^*)h(t_j^*)\Delta_j x
= \sum_{\mathcal{P}}f(t_j^*)\int_{t_{j-1}}^{t_j}\{h(t)-h(t_j^*)\}dt. \;\;(*)
$$
Let $M$ be a bounded for $f$. Then the right side is bounded absolutely by
$$
M\sum_{\mathcal{P}}\omega(h,I_j)\Delta_j x \le M( \overline{S}_{\mathcal{P}}(h)-\underline{S}_{\mathcal{P}}(h)).
$$
Here $\omega(h,I_j)$ is the oscillation of $h$ over the partition interval $I_j$, and the terms on the right are upper and lower sums. So that means the right side of $(*)$ tends to $0$ as the norm of the partition tends to $0$. Therefore, the limit of one of the sums on the left of $(*)$ exists iff the limit of the other sum on the left exists and, in that case, the two limits are equal. $\;\;\blacksquare$