added error message f no site is available when adding a host.

Closes #226