I screwed one of these spice racks to the outside of a cupboard door a couple of years ago.
I think it looks quite good there although it holds more spices than I really use (but we had [and still have] more than enough jars to fill the spaces when I bought the rack).