Where were the following situation comedies set?

“The Phil Silvers Show” (CBS, 1955-59)–Camp Fremont Army Base, Fort Baxter, Roseville, Kansas
“Leave It To Beaver” (CBS/ABC, 1957-63)—Mayfield, USA “The Andy Griffith Show” (CBS, 1960-68)—Mayberry, North Carolina
“The Dick Van Dyke Show” (CBS, 1961-66)—New Rochelle, New York
“Bewitched” (ABC, 1964-72)—Westport, Connecticut “The Mary Tyler Moore Show” (CBS, 1970-77)—Minneapolis, Minnesota
“All in the Family” (CBS, 1971-79)—Queens, New York “Barney Miller” (ABC, 1975-82)-12th Police Precinct, Greenwich Village, New York
“Cheers” (NBC, 1982-93)—Boston, Massachusetts
“The Cosby Show” (NBC, 1984-92)—Brooklyn, New York “Roseanne” (ABC, 1988– )—Lanford, Illinois