Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am following the below instruction to create a NHSC, but at point D when I am creating a Team Site, I get the message that the new URL is not found! Do I need to create that before? Am I missing something here?

Create Site Collections for Testing SharePoint & SharePoint Apps:

a) Open SharePoint 2013 Management Shell: b) Get a reference to the HNSC web application you just created by running the following Windows PowerShell script in the SharePoint 2013 Management Shell:

$hnscWebApp = Get-SPWebApplication | Where-Object {$_.DisplayName -eq "SharePoint HNSC Host - 80"}

c) Create a non-templated site at the root of the web application for Workflow to connect to by executing the following Windows PowerShell script in the SharePoint 2013 Management Shell:

New-SPSite -Name "Root HNSC Site Collection" -Url "http://wingtip.com" -HostHeaderWebApplication $hnscWebApp -OwnerAlias "WINGTIP\Administrator"

d) Create a team site by executing the following Windows PowerShell script in the SharePoint 2013 Management Shell:

New-SPSite -Name "Wingtip Intranet" -Url "http://intranet.wingtip.com" –HostHeaderWebApplication $hnscWebApp -Template "STS#0" -OwnerAlias "WINGTIP\Administrator"

e) Create a developer site by executing the following Windows PowerShell script in the SharePoint 2013 Management Shell:

New-SPSite -Name "Wingtip Developer Site" -Url "http://dev.wingtip.com" –HostHeaderWebApplication $hnscWebApp -Template "DEV#0" -OwnerAlias "WINGTIP\Administrator"

You can only create, debug and test apps using a developer site.

At this point you now have a site collection to use as a team site (http://intranet.wingtip.com) and to develop and test custom SharePoint apps (http://dev.wingtip.com).

share|improve this question
add comment

migrated from meta.sharepoint.stackexchange.com Dec 12 '12 at 14:44

This question came from our discussion, support, and feature requests site for SharePoint enthusiasts.

1 Answer

Before creating the site with New-SpSite try to create the bindings (this must be done on each WFE server of your farm):

New-WebBinding -Name "intranet.wingtip.com" -HostHeader "wingtip.com"
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.