perhaps most importantly is the temperature of the oven.
giving your muffins a boost of extra hot heat (220c/420f) when they first go in the oven helps the outside of the muffin to set quickly whilst the inside of the muffin continues to rise, resulting in the muffin top/domed look.