There are several names for Spanish ham, but above all there are two categories of ham!
Jamón Ibérico: Iberian ham is made from Iberian pigs raised in the wild in Spain, fed on acorns (bellota) during the montanera period.
Jamón Serrano: Serrano ham is made from white pigs bred in Spain, which have been fed with natural feed and raised in the wild or not.
For Iberian Ham, there are 4 denominations: Jabugo, Guijelo, Extremadura, Los Pedroches. For Serrano ham, a minority of the production goes through an official designation: Trevelez, Teruel, de Serón