We had a SharePoint 2013 intranet set up on premise that had a SSL certificate attached to it.
We have now moved the content over to SharePoint Online, with the same structure, and would like to apply a 301 redirect or the like to push users to the new site when they try to access the old site.
I tried to set up a CNAME pointing to the new site, but it doesnt like that.
I know i can set up a redirect on IIS on a local machine, but i would prefer to not have to have a server with its only job to act as a redirector.
The original site was on a server in our network, and the new site is on Office 365.
if i try to use the CNAME to redirect, i get the following
This server could not prove that it is #.#.com.au ; its security certificate is from *.sharepoint.com . This may be caused by a misconfiguration or an attacker intercepting your connection.
So you basically want to redirect from your .au domain to sharepoint.com, right? Is your .au domain on Cloudflare? Doesnt Sharepoint allow to map the domain directly?