use hostname from settings