Answered by:
Rename Intranet Portal

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 $rwa.Name="Your New Web Application Name" $rwa.Update() 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
Answers
-
One way is: Configure Alternate Access Mapping
Here are the steps: http://social.technet.microsoft.com/wiki/contents/articles/5275.sharepoint-2010-change-the-public-url-of-a-web-application-en-us.aspx
But i would recommend you to go through this link
http://sharepoint.stackexchange.com/questions/37153/change-a-web-application-url
Mark this post as answer if this resolves your issue.
Everything about SQL Server | Experience inside SQL Server -Mohammad Nizamuddin- Proposed as answer by Kris Frukacz Monday, April 15, 2013 2:00 PM
- Marked as answer by JmATK Monday, April 15, 2013 6:17 PM
Monday, April 15, 2013 5:51 AM -
You cannot rename web apps. You could add the AAM as Mohammed suggested, you would just need to add the URL and add the binding in IIS.
Alternately, you could delete sharepoint from the IIS site, delete the web app (keeping both site/content) and then recreate your web app with the correct name (selecting existing IIS site).
Hope This Helps!
- Marked as answer by JmATK Monday, April 15, 2013 6:17 PM
Monday, April 15, 2013 1:13 PM -
You can indeed update the display name of a Web Application in CA, run:
$wa = Get-SPWebApplication http://waUrl $wa.Name = "New Name" $wa.Update() $wa.ProvisionGlobally()
You cannot update the display name in IIS (called the ServerComment) as that is only set on initial Web Application creation.
SharePoint - Nauplius Applications
Microsoft SharePoint Server MVP
MCITP: SharePoint Administrator 2010
-----------------------
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.- Marked as answer by JmATK Monday, April 15, 2013 6:17 PM
Monday, April 15, 2013 2:12 PM
All replies
-
One way is: Configure Alternate Access Mapping
Here are the steps: http://social.technet.microsoft.com/wiki/contents/articles/5275.sharepoint-2010-change-the-public-url-of-a-web-application-en-us.aspx
But i would recommend you to go through this link
http://sharepoint.stackexchange.com/questions/37153/change-a-web-application-url
Mark this post as answer if this resolves your issue.
Everything about SQL Server | Experience inside SQL Server -Mohammad Nizamuddin- Proposed as answer by Kris Frukacz Monday, April 15, 2013 2:00 PM
- Marked as answer by JmATK Monday, April 15, 2013 6:17 PM
Monday, April 15, 2013 5:51 AM -
Hi Mohammed
What's the pro and cons - (I'm eligible to just to do a Alternate Access Mapping)
Monday, April 15, 2013 1:10 PM -
You cannot rename web apps. You could add the AAM as Mohammed suggested, you would just need to add the URL and add the binding in IIS.
Alternately, you could delete sharepoint from the IIS site, delete the web app (keeping both site/content) and then recreate your web app with the correct name (selecting existing IIS site).
Hope This Helps!
- Marked as answer by JmATK Monday, April 15, 2013 6:17 PM
Monday, April 15, 2013 1:13 PM -
You can indeed update the display name of a Web Application in CA, run:
$wa = Get-SPWebApplication http://waUrl $wa.Name = "New Name" $wa.Update() $wa.ProvisionGlobally()
You cannot update the display name in IIS (called the ServerComment) as that is only set on initial Web Application creation.
SharePoint - Nauplius Applications
Microsoft SharePoint Server MVP
MCITP: SharePoint Administrator 2010
-----------------------
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.- Marked as answer by JmATK Monday, April 15, 2013 6:17 PM
Monday, April 15, 2013 2:12 PM