The spell's range is defining where you can originate the area of effect for the spell. Similar to how the Fireball spell has a radius of 20' within a range of 150'.
From the Range section on page 202 of the PHB, "The target of a spell must be within the spell's range...For a spell like fireball, the target is the point in space where the ball of fire erupts."