Home » Microsoft » 70-667 » What should you do?
You have a sharepoint server 2010 SP1 server farm.
You have a web application that has the URL http://Webapp1.contoso.com.
You need to change the URL of the web application to http://Webapp1.tailspintoys.com.
What should you do?
A. From the Sharepoint 2010 management shell, run the Rename-ItemProperty cmdlet. From the command prompt, run the appcmd.exe command-line tool to modify the site bindings of the web application.
B. From the Sharepoint 2010 management shell, run the rename-spserver cmdlet. From Internet Information Services (IIS) Manager, change the IP address of the web application.
C. From the command prompt, run stsadm.exe and specify the renameserver operation. From Internet Information Services (IIS) Manager, change the host header of the Web application.
D. From Central Administration, configure the alternate access mappings. From Internet Information Services (IIS) Manager, change the host header of the web application.
Correct Answer: D
Explanation/Reference:
Rename-ItemProperty
The Rename-ItemProperty cmdlet changes the name of a specified item property. The value of the property is not changed. For example, you can use Rename-ItemProperty to change the name of a registry entry.
Rename-SPServer
The Rename-SPServer cmdlet changes the name of the server for internal use within SharePoint 2010 Products. The server itself must be manually renamed.
http://technet.microsoft.com/en-us/library/cc263117(v=office.12).aspx
Renameserver: Stsadm operation
Changes the name of the specified server in the configuration database.
This operation is used before or after a server is renamed in the domain to avoid having to rebuild the server or farm.
http://technet.microsoft.com/en-us/library/cc263117(v=office.12).aspx
Alternate access mappings
Alternate access mappings enable a Web application that receives a request for an internal URL, in one of the five authentication zones, to return pages that contain links to the public URL for the zone. You can associate a Web application with a collection of mappings between internal and public URLs http://technet.microsoft.com/en-us/library/cc261814(v=office.12).aspx