Sharepoint local to Online Site

Eric 1 Reputation point
2020-12-03T09:23:50.437+00:00

Hi there,

We have a local web server, intranet.contoso.com. The DNS registries point to the server's IP.

Right now we migrate and create a new site called sharepoint.contoso.com/site/newintranet

The problem comes when we try to apply the change by modifiying only the DNS registries. Adding a CNAME, but we are not sure that the value sharepoint.contoso.com/site/newintranet would be valid.

Anyone can help us a bit?

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anupam Shrivastava 176 Reputation points
    2020-12-03T15:14:33.89+00:00

    So, you want users to access the new URL sharepoint.contoso.com/site/newintranet when they try to access the old one intranet.contoso.com, right?

    • First, I think you typed the SharePoint Online URL wrong here, it would be contoso.sharepoint.com/site/newintranet
    • You can also migrate your local site's content at the root of the SharePoint online site or make the contoso.sharepoint.com/site/newintranet as the root site
    • I don't think this can be achieved by using CNAME entry as you ANAME needs to point to the IP address and SharePoint online is hosted across multiple IPs. You can use HTTP redirection hosted either on an on-premise IIS or on an Azure web site. Look at this article - Redirect to SharePoint Online URL using Azure web App - for more detail about this.
    0 comments No comments

  2. Allen Xu_MSFT 13,861 Reputation points
    2020-12-04T06:48:10.53+00:00

    Hi @Eric ,

    I want to confirm with you:
    Do you want to migrate your SharePoint server to O365 SharePoint Online service? If yes, you can refer to @Anupam Shrivastava ’s answer.

    Or you want to make your local SharePoint Server Internet access?

    You can map a CNAME to the A record which is linked to SharePoint Server and configure AAM in SharePoint Central Administration.

    In my case, I want to map "contoso.wendy.lab" to "sp13.wendy.lab".

    Firstly I mapped a CNAME to the A record:
    45113-image.png

    Then I configured AAM in SharePoint Central Administration:
    45093-image.png

    If I misunderstood what you mean, please feel free to let me know.

    I hope this information has been useful, please let me know if you still need assistance.


    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.