Default the domain to the hostname (e.g. demo.tc-dev.net) in non-production envs.