There was a real Mayberry.
Look up Mayberry, North Carolina on Google Maps and you’ll never find it. The real life town for which show creators modeled Mayberry is Mount Airy, North Carolina. Just south of the Virginia state line, the small town is the home of Andy Griffith.