1

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

2
  • Have a look at this answer it should do the trick for you: sharepoint.stackexchange.com/questions/202616/… Commented Oct 15, 2019 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. Commented Oct 16, 2019 at 6:43

1 Answer 1

1

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.

2
  • 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. Commented Oct 16, 2019 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 Commented Oct 16, 2019 at 6:16

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.