FWIW, Orbitz will allow you to search for flights by city names rather than airport codes. I'm not sure how it decides what airports serve a given city, though.
Maybe Orbitz works better in US, but I just tried it with a small selection of English towns and it basically failed spectacularly. flightm8 on the other hand would happily tell me the nearest airport to Leatherhead and Whitby.