use hostname for the domain