I have an internal sharepoint website (this site is internal only - NOT available from the web) that has been recreated in O365. I recently configured http redirect in IIS to simply point traffic for that internal server - to be redirected to https://CompanyName.sharepoint.com
I now want to get rid of that server. I need to use internal AD DNS to:
1. Ensure any internal traffic to URL https://central.CompanyName.local
(old internal site) will still be pointed to https://CompanyName.sharepoint.com
(for anyone that's still using the old URL to access the new O365 site).
2. Ensure any internal traffic to the new URL https://CompanyName.sharepoint.com
is directed to that O365 site.
How can i configure DNS to do this?