I'm trying to make a site collection. When I create one and give it a host header, the URL for the top site it gives me after creating the site collection never works. When I visit the URL, it says page not found. I've tried creating many site collections, but this issue remains. enter image description here

In the image above, the default site works, but the http://testapp/ doesn't.

  • 1
    Is your DNS (or hosts file) set up correctly so that testapp points at your server? Commented Oct 21, 2013 at 11:48
  • And, have you create a site collection in the web application? What you are showing us is the list of web applications, not site collections Commented Oct 21, 2013 at 11:49
  • @PerJakobsen Yes Jakbosen, I've created the DNS record for the other host headers - i.imgur.com/MMdp7ye.png Commented Oct 22, 2013 at 6:06
  • @RobertLindgren Hi Robert, yes I've created site collections - i.imgur.com/ywh4lVw.png Commented Oct 22, 2013 at 6:09
  • 1
    You should always have a site collection at the root (in fact SharePoint is unsupported if you don't) Commented Oct 22, 2013 at 6:39

1 Answer 1


I think, what you are missing here is Host named site collections (HNSC). These are special type of site collections available when some organization is much URL specific. You can't create a HNSC using central admin. you have to use powershell commands:

New-SPSite 'http://portal.contoso.com' -HostHeaderWebApplication (Get-SPWebApplication 'Contoso Sites') -Name 'Portal' -Description 'Customer root' -OwnerAlias 'contoso\administrator' -language 1033 -Template 'STS#0'

but you should have host header web application as up and running before running this command. once HNSC is created, you can do the DNS mapping for newly created site collections.

Reference: https://technet.microsoft.com/en-us/library/cc424952.aspx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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