Does Request.Url.Host include the subdomain?
问题 e.g. for mail.google.com would it return google.com or mail.google.com? I can't actually test it myself 回答1: It does include subdomain (e.g. mail.google.com) 回答2: You can save yourself from the headache of waiting for answers by reading documentation on Msdn. A String that contains the host name. This is usually the DNS host name or IP address of the server. If the requested DNS record is a subdomain, that's the record it will return. Subdomains are still there own records in a zone file, so