They did specifically say that the Starkiller Base weapon completely sucked up all the energy from a sun: the reason the sun went dark during the Kylo Ren / Han Solo kerfuffle.
At first glance, it did look like the Starkiller Base was built into an existing planet, although the plans which were shown did indeed show…