Considers host name in settings
Adds support for host postfixes