Rename Intranet Portal RRS feed

  • Question

  • I have a intranet named Contoso with one Webapplication and one site collection that all users access by typing: http://contoso  

    Now the owner want's to rename the intranet: to http://<contosoNEWNAME>

    Probably a walk in the park to do with Powershell...  

    And beside the DNS..

    How do I,  in a simple way, rename the Webapp in CA,  IIS site - friendly name in CA etc.?  

    The databases doesn't have to change....

    Is it just like this?

    $rwa=Get-SPWebApplication | where {$_.Name -match "Your Old Web Application Name"}
    $rwa.Name="Your New Web Application Name"
    Get-SPWebApplication | where {$_.Name -match "Your New Web Application Name"}
    Or do I have to make any other changes elsewhere?

    Monday, April 15, 2013 5:42 AM


All replies