Make hostnames default to using $domain instead of example.com