Lighting/shadow distance

how do I force shadows to render at further distances? I’m having this issue where light will just show up in a box/room and I’m pretty sure it’s due to shadow distancing. Anyone have any clue as to make it render shadows further? If it’s not shadows I have an image that outlines the issue, if you need more detail please ask.