I have two SharePoint site, Site A is pointing to default port 80 (http://mysite.company.com/sites/mypage
) which is pointing to database1. I have created a replica of SiteA as a intranet site i.e. SiteB (http:severname:7878/sites/mypage
) which is pointing to database2.
Now, very frequently we are making changes to SiteA and database1. Because of that we would like to keep siteA offline but want user to access SiteB using siteA URL.
As I have no understanding about SharePoint I googled and found out that via AAM I can give 2 URL to same SharePoint. But what if I want to give same URL to two different SharePoint site.
I am planning to place App_Offline.html in the virual directory to SiteA so that it will become offline and user will be redirected to SiteB using SiteA URL.
Is there any way to make a switch between one site to another?