Add a configuration option to replace the canoncial subdomain with alt subdomains. Fix for issue #1