display better errors when hostname doesnt match expectations