Right baking temperature
If this is a reocurring problem, and not just a single failure, there are a few things that you can try:


Change the type of pan you're cooking in.  A dark metal pan or a clear glass pan will cook the bottom faster than a shiny metal pan.
Place the cake lower in the oven, so that the bottom is closer to the heating element.
Shield the top of the cake so that it cooks slower, by placing a sheet of aluminum foil or a sheet tray on a rack above the cake.  (note, don't cover the cake, we're just shielding it from radiant heat).
Put less batter in the pan.  Spread it into two pans, and stack them together once baked.


And if none of that helps, you can also try cooking the cake at a lower temperature for longer ... it'll end up more dense as you won't get the oven spring, but it'll help prevent the chance of over-baking it.  You can also start it warm, but then lower the temperature 25-50°F once it's been in for a few minutes.