8

My old DNS was DNSOld for sharepoint server. So I changed Alternate access mappings as DNSOld for Intranet.

I changed DNS again as DNSNew. I changed Alternate access mappings too. But the logs are like this:

Alternate access mappings have not been configured. Users or services are accessing the site http://sharepoint_server with the URL http://DNSOld. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://DNSOld as an AAM response URL.
Cannot find site lookup info for request Uri http://DNSOld/_layouts/15/core.debug.js?rev=HMlx90NziE60dQZ6I9yj2Q==.

And every 1 or 2 am I've got this error:

The DataSourceID of 'V4QuickLaunchMenu' must be the ID of a control of type IHierarchicalDataSource. A control with ID 'QuickLaunchSiteMap' could not be found

How can I solve this issue? Thank you.

e.ozmen
  • 1,492
  • 11
  • 33
  • 52
  • I'm a bit confused over this question. Did you start by changing the zone default to intranet, and then tried to add a new default zone, or did you leave the default zone unchanged? – Benny Skogberg Jun 18 '13 at 06:19
  • I select "Add Internal URLs" and enter the DNSNew Url. In edit public url the default is sharepoint server url and intranet is DNSNew url. I didn't change public url – e.ozmen Jun 18 '13 at 06:22

1 Answers1

12

In Central Administration, go to Application Management and then in the section Web Applications, go to Configure alternative access mappings, or use the following URL http://CentralAdminURL/_admin/AlternateUrlCollections.aspx.

In the selector Alternative Access Mapping Collection: select the Web Application you want to extend, by clicking Show All.

enter image description here

Next, select Edit Public URLs

enter image description here

... where you can add your DNSNew :s URL to the intranet zone of your Web Application:

enter image description here

Edit

In addition to the actual Alternate Access Mapping in SharePoint Central Administration, you also have to add a Binding in IIS, contrary to what many believe, except for the initial hostheader when you create the web application, SharePoint does not do that for you, so you have to do it manually. The example above would show up in IIS Bindings like this:

enter image description here

Reference: A guide to Alternate Access Mappings Basics in SharePoint 2013

Benny Skogberg
  • 25,542
  • 12
  • 68
  • 163