If $f:A\to B$ is a homomorphism of rings such that $f':\text{spec} B \to \text{spec} A$ is a homeomorphism does it follows that the spectra are isomorphic as schemes?
I was able to reduce this problem to trying to show that given a prime $\mathfrak{q}$ in $B$ and setting $\mathfrak{p} = f^{-1} \mathfrak{q}$, that the map $A_{\mathfrak{p}} \to B_{\mathfrak{q}}$ is an isomorphism of rings. But I do not see why this has to be true, even in the special case when $B = A$ modulo its nilradical.