A URL that resides under a SharePoint root site collection is broken after the root site collection is deleted
Prior to deleting a root site collection, Admins are made aware of the consequences of deleting the root site collection with the following message.
If you delete this site, all SharePoint sites in your organization will be inaccessible until you restore the site or create a new site at <Root URL>.
Consider the following scenarios in Office 365:
A SharePoint Online Administrator deletes the root site collection by using the Manage Site Collections page in the SharePoint admin center. For example, the SharePoint Online Administrator deletes the https://<domainname>.sharepoint.com site where <domainname> is the name of your domain, such as https://contoso.sharepoint.com.
All the content sites that have URLs that reside under the root site collection (<domainname>.sharepoint.com/sites or <domainname>.sharepoint.com/teams) are timing out or you're repeatedly returned to the Office 365 sign-in page.
To resolve these issues, restore the root level site collection from the Recycle Bin. For more info about how to restore a deleted site collection from the Recycle Bin, go to Restore a deleted site collection.
If the site collection is no longer present in the Recycle Bin, or if you prefer to create a new Site collection at the root site location, follow these steps:
The following steps must be performed by a SharePoint Online Global administrator and can only be completed from the Classic SharePoint Admin Center.
Browse to the SharePoint admin center, for example https://<domainname>-admin.sharepoint.com, where <domainname> is the name of your domain, such as https://contoso-admin.sharepoint.com.
Verify that the root site collection (https://<domainname>.sharepoint.com) doesn't appear in the list of site collections.
On the ribbon, click New, and then click Private Site Collection.
Complete the new site collection form. You must specify a Title, a value for Template Selection, an Administrator, a Storage Quota, and a Server Resource Quota. You can use the following default values or specify your own:
Template Selection: Use the team site template, which is the default, or specify another template if you prefer.
Be aware that this template can't be changed without deleting the site collection. And, be aware that the Publishing Portal template isn't supported at this location.
Administrator: Use the alias of the user whom you want to be the administrator for the site collection. This value can be changed later.
Storage quota: 100 MB. This value can be changed later.
Resource quota: 0. This value can be changed later.
If the site that was located at the root site location still exists in the Recycle Bin, you must check the box Permanently delete the site collection from the recycle bin and continue, and then click OK.
Wait for the site collection to be created. Be aware that this may take several minutes.
After the root site collection is created and provisioned, verify access to the site by going to https://<domainname>.sharepoint.com.
Still need help? Go to Microsoft Community.