For simplicity, think of these 3 ball positions. Driver ball location is on inside heel of the target foot. Middle irons center of heels in stance. Short irons/wedges are on the inside heel of trail foot.
Practice ball location to find where in your swing the club bottoms out on the ground and direction ball flies. Make adjustments forward or back for more solid contact.