Can I change my host header for my webapplication simply by adding a new binding in IIS, and changing the AAM for the default zone to the new URL?

According to this link I have to do more than that. According to this threadchanging binding and AAM should be sufficient

  • Have a look at this answer it should do the trick for you: sharepoint.stackexchange.com/questions/202616/… – Marek Sarad Oct 15 '19 at 10:40
  • This works but when you stop and start the "Microsoft SharePoint Foundation Web Application service in Central Admin" the original URL will get backl into IIS. So the URL is not changed in the configuration database. – Danny Oct 16 '19 at 6:43

You have to do more work as Russ mentioned in his blog. he very well explained the reason, "making any change to Web Application settings without proper way, will not update the configuration database". So when we have an issue with SharePoint farm, sharepoint will knew old host header url.

Extending and un-extending the web application is way to go with it, it is little pain in start but more reliable. when you do this, make sure do it in off hours, it will cause the outage.

  • Are you sure? Because when I change the URL for the default zone in my test env it also gets changed automatically in my content source in my search service application. – Danny Oct 16 '19 at 6:08
  • I tested the case where I stop and start the "Microsoft SharePoint Foundation Web Application service in Central Admin". I can confirm that my old URL will come back in IIS after that – Danny Oct 16 '19 at 6:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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