Can anyone help me in how to make the whole photo in focus ?? I'm using Nikon D7100 with Nikkor 18-105 mm.
Photography Stack Exchange is a question and answer site for professional, enthusiast and amateur photographers. It only takes a minute to sign up.Sign up to join this community
What you want to do is to focus the lens at its "hyperfocal distance" for the selected aperture. The hyperfocal distance is the focus distance which places the furthest edge of the depth of field at infinity. (Depth of field is the range of distances which appear sharp in a picture).
A loose rule of thumb is to use a small aperture and focus 1/3 the way into the picture. There are online calculators such as the one at http://www.cambridgeincolour.com/tutorials/hyperfocal-distance.htm to give you better results.