it is best to mount the preamp as close to the antenna as possible.
I mount preamps where they work best... at the antenna, at the grounding block outdoors or inside at the distribution point.
if you live in the boonies, mast mounting close to the antenna is best. with high gain preamps with short coax runs and living in the suburbs, it sometimes helps to mount the amp farther away from the antenna to tame the signal levels going into the amp lessening the likelyhood of overload...basically used as a distribution amp so to speak.
if the results are not satisfactory with the amp at the distribution point then install at the antenna.