Find the nodal point
The nodal point of a lens is the point at which rays of light entering it converge, and it’s the ideal point around which to rotate the camera when shooting a sequence of shots to create a panoramic image. A simple way to find this point is to put a stick or wire in front of the camera and align it in the viewfinder with a more distant object. Then try rotating the camera around different points along the lens barrel – ideally with the camera mounted on a panoramic tripod head. You’ve found the nodal point if the two objects stay in alignment during the rotation.
A panoramic tripod will help you find the nodal point