The relaxed complex scheme, a virtual-screening methodology that accounts for protein receptor flexibility, was used to identify a low-micromolar, non-bisphosphonate inhibitor of farnesyl diphosphate synthase. Serendipitously, we also found that several predicted farnesyl diphosphate synthase inhibitors were low-micromolar inhibitors of undecaprenyl diphosphate synthase. These results are of interest because farnesyl diphosphate synthase inhibitors are being pursued as both anti-infective and anticancer agents, and undecaprenyl diphosphate synthase inhibitors are antibacterial drug leads.