The entire wizarding world knows Harry Potter because he is the only known wizard to have survived the Killing Curse (Avada Kedavra).
On October 31, 1981, Lord Voldemort murdered Harry's parents and attempted to kill the infant Harry. The curse rebounded, destroying Voldemort's body and leaving Harry with a lightning-bolt scar.
Thus, "The Boy Who Lived" entered wizarding lore before he could walk—celebrated, scrutinized, and burdened by a destiny he didn't choose.