question

MiguelIsidoro-9452 avatar image
0 Votes"
MiguelIsidoro-9452 asked JerryXu-MSFT edited

Migrate a host named site collection in SharePoint 2013 into a non-host named site collection web application in SharePoint 2019

Hello,

I am migrating a web application that has a single host named site collection in SharePoint 2013 into SharePoint 2019. This is a public web site using SharePoint WCM features that has two urls:

  • http://webapp.platform.com - web application url, not used directly, just a container, it has a wildcard binding to allow site collection any url. Used for anonymous access, using Default Zone. It has its own content database, not used

  • http://auth.platform.com - web application authoring extended url to allow authenticated access, using Intranet zone

  • http://www.site.com - host named site collection public url, anonymous access, using Default Zone. It has a content database where the site's content is stored

  • http://auth.site.com - host named site collection authoring url, using windows authentication, using Intranet Zone

Since this is a single site collection, is it possible to create a regular web application with a root site collection in SharePoint 2019 (non-host named site collection) and have the original host named site collection migrated into the web application root site collection with the same URL than the original SharePoint 2013 host named site collection?

What I was thinking for SharePoint 2019:
- http://www.site.com - web application url public url, anonymous access, using Default Zone
- http://auth.site.com - web application authoring extended url to allow authenticated access, using windows authentication, using Intranet Zone

The migration approach I am going to use is a database attach approach described in detail in :

https://blogit.create.pt/miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/
https://blogit.create.pt/miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/

Thanks
Miguel

office-sharepoint-server-administration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JerryXu-MSFT avatar image
0 Votes"
JerryXu-MSFT answered JerryXu-MSFT edited

Hi, @Miguellsidoro-9452 ,

If you want to convert a host named site collection to a path based site collection, just need to do a backup & restore process for it. As you are in a the process of a DB migration from 2013 to 2019, here is my suggestion.

First finish the migration process for your database. Then you will have a the migrated host named site collection in your new farm. The blog you are referring to looks fine, just follow the process

After that backup & restore the host named site collection. Restore the site collection to the URL of the root site collection in the regular web application. Then the you will have a new path based site collection with the URL you want, having content from the old host named site collection.

An old thread but works in SP2019

Backup-SPSite
Restore-SPSite


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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.