PrepAway - Latest Free Exam Questions & Answers

You need to ensure that the site collection is also accessible at http://collaboration.contoso.com

A SharePoint environment contains a single web application at http://app1. Users access a site
collection under the web application by using the URL http://portal.contoso.com.
You need to ensure that the site collection is also accessible at http://collaboration.contoso.com.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Run the New-SPSite Windows PowerShell cmdlet.

B.
Run the Set-SPSiteUrl Windows PowerShell cmdlet.

C.
Add collaboration.contoso.com as an alternate access mapping for the web application.

D.
Extend the web application and add collaboration.contoso.com to the Intranet Zone.

Explanation:
The Set-SPSiteUrl cmdlet adds or changes an URL mapping for the site.
The Set-SPSiteUrl cmdlet only applies to the root site collection for a host name that is,
http://www.contoso.com. This cmdlet cannot be directly run against a managed path site collection
underneath the root that is, http://www.contoso.com/sites/test.


Leave a Reply