Here's an approach: Every countable limit ordinal has cofinality $\omega$; that means that for any countable limit ordinal $\alpha$, there is a sequence $\beta_0 < \beta_1 < \beta_2 < \ldots$ so that $\sup\beta_n = \alpha$. Without loss of generality, these $\beta_n$ are successor ordinals (just add one to each one).
So here's what I'm thinking: Map $\beta_0$ homeomorphically into $[0,1]$. Map $\beta_1 \setminus \beta_0$ homeomorphically into $[1, 2]$, $\beta_2 \setminus \beta_1$ into $[2,3]$, and so on. The result will be a homeomorphic mapping of $\alpha$ into $\mathbb{R}$, with the additional property that $\alpha$ is "sent" to $\infty$ (I say "sent" in quotes because $\alpha$ isn't actually in the domain of this map, but you know what I mean). The induced metric should do what you want it to.
Now, there's a bunch of details to work out, like exactly how these homeomorphisms align with each other, but I think this is a good way to start.