Hello, and welcome to this video. My name is James Olorunosebi, and I will be your guide for this video tutorial. Today we will be looking at Alternate Access Mappings (AAM). So why do we have to use Alternate Access Mappings? We have to use alternate access mappings because typically because in a server environment you would have a server box. Now my handwritings and my drawings are pretty terrible. But we can make do with this.

MCSE Training – Resources (Intense)

Okay this is our server box. This server that belongs to our SharePoint farm, these servers already have names. In our scenario we have a server by the name SPS-SQLDB. This is the server name. And we have another server called, which is our domain controller, DCEX-1 (on screen diagram DEEX-1). Now when we install SharePoint, what SharePoint does is to take the name of the server and make it the default URL for the SharePoint installation. So, we would end up with a URL that is akin to this, http://sps-sqldb:2015. If we had installed SharePoint on this machine, the URL would have become http://dcex-1:2015 in similar fashion. Now when we create site collections in SharePoint, the site collections will also go with a similar name fashion. For example, we create a site collection in SharePoint, and we call this site collection say for example testlabintranet. We would end up with a URL of http://sps-sqldb, if it is sitting on port 80, the port 80 will not show, and it will be /sites/testlabintranet/default.aspx (http://sps-sqldb/sites/testlabintranet/default.aspx). Now, when users browse to our SharePoint site, this URL is what they would find. This URL has a problem. It is revealing the name of the server. The server box name is being exposed.

In our office we have different kinds of people, or rather in our offices we have different kinds of people who visit, and many times, some of them are going to easily see the URL of the resources that we use and if those resources are bearing your exact server machine names, that becomes a problem. So what you should do – what alternate access mappings does, AAM, is to create, or cloak the server machine name and give end users, a user friendly name. Not only is it good for giving users user friendly names, it’s also for security reasons. So what we’ll do with AAM is, rather than have the site coming up with a name as this, in AAM we’ll configure what is known as Internal URL, and we’ll configure what is known as a Public URL. So the public URL is what we would have that will be for example, after we are through configuring it in the AAM settings will be http://testlab/sites and so on and so forth (http://testlab/sites/testlabintranet/default.aspx).

Now for the demonstration on how to configure AAM (Alternate Access Mappings). Currently, we have our SharePoint site, let’s take this into full screen. Currently we have our SharePoint site sitting on this address, revealing the name of the server. We’ll have the site collections revealing the name of this server as well. It is not so much of a problem if as an administrator you come into your SharePoint environment and you have to work with your server name, after all, you are the administrator. But for our public users, our other users in the office, or the company, they should not have to work with this URL. Sometimes, this URL can become so complicated that many of them cannot remember it. So we have to give them something that they can easily remember. So we configure alternate access mappings.

So for starters to make the name we are going to use in alternate access mapping in this location available, the first thing we’ll do is to go to the domain controller, and tell DNS (domain name system), “Hey DNS, this is the name we want you to look out for when users contact you for resources on SharePoint. When they send in this URL to you, take it, translate it to this other machine name or IP address, and let them give them the page that they want.”

I go to the domain controller, am going to turn it on. Am going to create a host record.

Start → Administrative Tools → DNS.

Right click the right hand pane, select New Host (A or AAAA)

In the New Host dialog box, in the Name (Use current domain name if blank, type intenseschool.

In the IP Address section, type in the IP address of the SharePoint server machine, in this case 10.0.0.2.

Uncheck the Create associated pointer (PTR) record.

Click Add Host.

A success DNS information dialog box appears with the message The host record intenseschool.testlab.com was successfully created.

Click OK.

Now before I leave this place I am going to click Start àCommand Prompt to tell the system to do a group policy gpupdate, and am just going to force that (gpupdate /force)

Group policy update has completed successfully is displayed in the Command Prompt window.

I close this. Then we come to the SharePoint server, this is where we need to create the intenseschool alternate access name. I will click Add Internal URL.

In the Add Internal URLs page, ensure the Alternate Access Mapping Collection web application is the correct one, in this case, SharePoint 80 web application.

In the Add Internal URL section, at the URL, protocol, host and port textbox, type http://intenseschool.

In the Zone dropdown section, select Extranet. I am using the extranet zone because that is the zone I have not used as yet. Click Save.

So we have the intensechool on the extranet zone. What am going to do is am going to click on it. Just to be sure. As you can see it’s on the extranet zone. Am going to OK out of there. Then am going to click on Edit Public URL, just to be sure again, you can see, it is on the Extranet zone, it’s come in there. Click Save out of there. And now I don’t have to do anything here anymore. I’ll go to the client machine, and in here, am going to put it in here, but before I do that, I am just going to minimize this, and run the command line, and am going to tell this machine to gpupdate /force. Okay, that completed successfully. So am going to close this box. I am going to open the browser one more time. And I am just going to copy this URL, open a new page, am going to paste it in here, and I am going to edit the URL and change it from intranet or sps-sqldb (or whatever else you may have on yours) to intenseschool, and hit enter, and let’s see if that goes, and voila! So you see, our alternate access mapping is working just fine.

So, thank you for watching this video Configuring Alternate Access Mappings, for SharePoint, see you again next time.