Original: The box is defined as zero potential energy inside a certain interval and infinite everywhere outside that interval.
Simplified: The well has zero potential energy inside a range and infinite everywhere outside that range.