When I installed SharePoint Foundation it created my default web application with a name SharePoint - 80 that was running on port 80. Since I need port 80 for another web application I moved it to port 81. Everything works, but the name remains.
How do I rename a SharePoint 2010 web application then? I see the same name is applied to IIS application instance as well. Should I simply rename this app name in IIS or do I have to change something in the DB or anywhere in Central Admin?
$site = Get-SPSite http://yoururland update the $site.Port property – Anders Rask Aug 20 '12 at 06:27