Configure SharePoint Home to Create Host Named Site Collections

SAPOZHKOV Aleksandr 21 Reputation points

Hi, I am trying to use SharePoint Home page for creating new host named sites. When I configure by default, SharePoint is creating path based sites, not host named. Let me explain.

My web application URL is http://swazdbsp00. In this web application I created a host named site collection that hosts /_layouts/15/sharepoint.aspx page.


is there a way to configure SharePoint Home to create sites in the host named URL?

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,247 questions
0 comments No comments
{count} votes

3 additional answers

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 13,961 Reputation points MVP

    HI @SAPOZHKOV Aleksandr
    SharePoint decides the mapping of the host Name with the Site Collection at the time of initializing SPSite Object. During the initialization process, SharePoint queries SPWebApplication object to see if host header details are associated with the Site Collection and if there is no information returned on host headers, then it becomes evident that this is a typical Site Collection.

    Please check if it could help at your side:
    How To Create Host Named Site Collections
    How to Create Host Named Site Collections in SharePoint

    If the Answer is helpful, please click Accept Answer and up-vote, this can be beneficial to other community members.

  2. Li Zhang_MSFT 1,566 Reputation points

    Hi @SAPOZHKOV Aleksandr ,

    As trevorseward said, a host-named site collection couldn’t be created in SharePoint home page, we suggest you use Microsoft PowerShell to create a host-named site collection.

    For more information, please refer to:


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. SAPOZHKOV Aleksandr 21 Reputation points

    Thanks for your answer Li Zhang! So, if I understand your suggestion correctly, then if our organization wants to use this wonderful site creation UI in SharePoint 2019, we must go with using path-based site collections instead of host-named, is that correct? If we generalize the suggestion also, host-named site collections are not recommended if we want to use new SharePoint 2019 features, right?

    0 comments No comments