Configure SharePoint Home to Create Host Named Site Collections

SAPOZHKOV Aleksandr 21 Reputation points
2021-02-07T12:43:57.497+00:00

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 https://kans-sql2019sp2019oos02-swazdbsp00.westeurope.cloudapp.azure.com that hosts /_layouts/15/sharepoint.aspx page.

65012-image.png

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
    2021-02-07T13:18:41.82+00:00

    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:
    CREATING HOST-NAMED SITE COLLECTIONS IN SHAREPOINT
    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
    2021-02-08T10:42:01.61+00:00

    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:

    https://learn.microsoft.com/en-us/sharepoint/administration/host-named-site-collection-architecture-and-deployment#create-host-named-site-collections

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------

    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
    2021-02-08T11:04:34.127+00:00

    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