Bug 919177 - Add support for multiple subdomains