setup friendly URL for SP Online site collection

Kiran Kumar Talikoti 1 Reputation point
2020-11-13T14:46:39.327+00:00

I am trying to setup friendly/custom URL for SP Online site collection. For Example by default all SP Online site collections looks like http://companyname.sharepoint.com/sites/test

In SP On premise we have friendly url setup (https://projectname.compnayname.com/test).Similary I'm trying to setup something similar URL's in SPO based on the projectname or business unit such as https://projectname.companyname.com/test for site collection named 'test'

I don't have much experience on DNS setup. Can anyone please throw some light on this query that would be helpful.
Also is there any limitations/cons if I setup friendly URL like this https://projectname.companyname.com/test

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,610 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,609 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,937 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Sharath Kumar Aluri 3,071 Reputation points
    2020-11-13T15:56:46.12+00:00

    It's not possible in SharePoint Online, If you are in SharePoint On-Premises then you can create a Host Header Site Collection by adding DNS Entries. But for SharePoint Online they don't support those kind of URL's. even for SharePoint On-Premise it's not a good practice to create site collections like that.

    Thanks & Regards,

    0 comments No comments

  2. Trevor Seward 11,701 Reputation points
    2020-11-14T17:22:22.923+00:00

    You would need to deploy your own web server. That server would need to respond to the FQDN and you'd need to configure it to where it performed an HTTP 302 redirect when a user hits the defined path (/test).

    It would be an administrative overhead, but it is certainly possible.

    0 comments No comments

  3. ChelseaWu-MSFT 6,326 Reputation points
    2020-11-16T03:04:15.927+00:00

    There is currently no built-in solution for this requirement in SharePoint Online, but you can do a URL redirect as workaround for your organization tenant.

    Please find a related article here: Friendly URLs with Office 365.

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    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. **


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.