Camera perspective in viewport is different to in render
It's because you're zoomed in on the viewport, and can't see the edge of your camera. 

In the viewport, use the mousewheel to zoom out until the edge of the camera shows up. Select the camera, and move the camera forward with G MMB