Flattr this!

Got this error while installing modules from Magento Connect :

Could not resolve host: magento-community; Host not found

Yet another simple solution :

instead of typing magento-community/<name_of_module>

paste this in the extension key to install box

http://connect20.magentocommerce.com/community/<name_of_module>

then click on install.

Works like a charm 🙂