Change the default hostname to use the domain name provided through the env.