Coordinating URLs with AAM and DNS

Mark Arend, Senior Consultant, raised several good questions about coordinating URLs with alternate access mappings and DNS:

  • How do you configure alternate access mappings for single-name URLs, such as http://fabrikam?
  • How do you coordinate load-balanced access to Web applications that are extended with multiple zones, such as http://partnerweb and

Configuring alternate access mappings can be tricky. After some research and consulting with our astute testers, Troy Starr, as well as working with Mark, I put together the following chart that lists the necessary information for creating or modifying alternate access mappings based on the classic authentication version of the logical architecture design sample.

As you can see, single-name URLs (for example, http://teams) can be configured for Intranet access.  These URLs are resolved by the client by appending the client’s DNS suffix, such as, and then issuing a DNS lookup for the name with the suffix.  For example, when a client computer in the domain requests http://teams, the computer sends a request to DNS for 

In addition to configuring alternate access mappings, some DNS work is necessary as well. DNS must be configured with an A record for each Fully Qualified Domain Name (FQDN). The A record points to the load balanced IP address for the Web servers hosting a site. In a typical production deployment, servers are configure with statically assigned IP addresses, as well as statically assigned A records in DNS. 

After receiving the virtual IP address of the load balancer, the client browser establishes communication with a front-end Web server in the farm, then sends an HTTP request with the original single-name URL, http://teams.  IIS and SharePoint recognize this as a request for the Intranet zone, based on the settings configured in alternate access mappings.  If the user had instead requested, the process would be the same except IIS and SharePoint would receive this FQDN instead, and therefore recognize this request for the Default zone.

In environments with multiple domains, enter CNAME records for DNS in the domains that the sites do not reside in. For example, if the Fabrikam network environment includes a second domain called, CNAME records are entered for these sites in the Europe domain. For the Team Sites intranet site (http://teams), a CNAME record called teams is added to the domain that points to Then, when a client’s DNS suffix is appended to DNS lookup requests, a request for http://teams from the Europe domain will issue a DNS lookup of, and be directed by the CNAME record to

After learning about how URLs are resolved by the browser, I realized that http://fabrikam is not a great choice for an illustrative URL ( Consequently, I updated the classic authentication version of the logical architecture design sample with the URL of http://intranet instead. You can download the updated version at  SharePoint Server 2010 design samples: Corporate portal with classic authentication or with claims-based authentication (

Finally, there is a known issue with some Kerberos clients and resolving CNAME records. If your environment includes Kerberos authentication,  see Kerberos configuration known issues (SharePoint Server 2010).

Read More