In The Force Awakens, Starkiller Base is shown to be tremendously close to its host star—close than Mercury is to the Sun.
So why is it a snow planet?
NOTE: Part of the answer might have to do with how much heat radiation a star the size of Jupiter would output, since that seems to be about the size of Starkiller Base's sun in the movie.