Forum Discussion
ianpokhrel
Feb 13, 2020Copper Contributor
Redirect Onprem to Online
I am working on migrating on prem site over to Online. once thats done i am looking to redirect the On prem site over to Online so that if any users try to access On prem site would be routed over to...
- Feb 13, 2020It all depends on your current configuration. There are a few ways to do this that I've used.
1. Put SharePoint pages you migrate into Read Only mode. You can then add a script to the landing page and have it redirect to the online page.
2. Have an internal URL forwarder (We had a Barracuda Load balancer handle it) that forwards the URL to another URL. You would point internal DNS ip for the domain to the URL Forwarder, then it would forward on. You can even use an IIS server you might have and utilize forwarding there as well.
3. Same as 2. But if you have externally hosted DNS for your domain, some of those have DNS forwarders where you can forward a domain record to another domain
Feb 13, 2020
It all depends on your current configuration. There are a few ways to do this that I've used.
1. Put SharePoint pages you migrate into Read Only mode. You can then add a script to the landing page and have it redirect to the online page.
2. Have an internal URL forwarder (We had a Barracuda Load balancer handle it) that forwards the URL to another URL. You would point internal DNS ip for the domain to the URL Forwarder, then it would forward on. You can even use an IIS server you might have and utilize forwarding there as well.
3. Same as 2. But if you have externally hosted DNS for your domain, some of those have DNS forwarders where you can forward a domain record to another domain
1. Put SharePoint pages you migrate into Read Only mode. You can then add a script to the landing page and have it redirect to the online page.
2. Have an internal URL forwarder (We had a Barracuda Load balancer handle it) that forwards the URL to another URL. You would point internal DNS ip for the domain to the URL Forwarder, then it would forward on. You can even use an IIS server you might have and utilize forwarding there as well.
3. Same as 2. But if you have externally hosted DNS for your domain, some of those have DNS forwarders where you can forward a domain record to another domain
- ianpokhrelMay 14, 2020Copper Contributor
ChrisWebbTech when you say adding Script to the landing page, did you mean adding a banner or a text webpart and provide a URL so users clicks that link to navigate them to the new page?
- May 14, 2020Neither. Classic pages when edit, have a script block you can add script too in the tool bar, but your landing page still has to be a classic one for it to work.
- ianpokhrelMay 14, 2020Copper Contributor
ChrisWebbTech gotcha. yes i am aware of script block, but not quite sure what script do i need to add to make redirect possible. can you please shed some light on that ?