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.

2
  • 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, 2013 at 6: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, 2013 at 6:22

1 Answer 1

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

7
  • 1
    I wrote in my question that I do it. But it didn't work.
    – e.ozmen
    Jun 18, 2013 at 7:03
  • @e.ozmen But in your comment above, you wrote that you hit the link "Add Internal URLs" and not "Edit public URLs", which is what I'm trying to show. Did you follow these mentioned steps and still it didn't work?
    – Benny Skogberg
    Jun 18, 2013 at 7:22
  • When I add the internal link, it appears in edit public zone urls intranet zone automaticaly.
    – e.ozmen
    Jun 18, 2013 at 7:38
  • @e.ozmen ...and if you select just your Alternative Access Mapping Collection to the right in image 2, do you see both default zone and intranet zone?
    – Benny Skogberg
    Jun 18, 2013 at 7:54
  • Yes I see them.
    – e.ozmen
    Jun 18, 2013 at 8:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.