Is hogwarts the only magic school?

No. There are at least three mentioned as part of the tri-wizard tournament.