GO:0007442: hindgut morphogenesis
The process in which the anatomical structures of the hindgut are generated and organized.