Support for aliases/subdomains

Important for full hoodie support.