Gatepost

Webster's Dictionary of the English Language

·noun A post against which a gate closes;

— called also shutting post.

II. Gatepost ·noun A post to which a gate is hung;

— called also swinging / hinging post.