Avatar of r_pat72
r_pat72
 asked on

Azure - Adding Wesite Maintenance Page

Hi,

I have a site hosted in windows azure. Here is what my client wants :

1) The site should show maintenance page during site deployment
2) After site deployment is done, during  BVT  we need to show maintenance page until completion of BVT on the site. Any users will hit the site, will see the maintenance page & only engineering/Test team can see the site content.

How can we achieve this in windows azure. I am using ASP.NET MVC application.

Thanks
AzureASP.NETWeb Development

Avatar of undefined
Last Comment
David Johnson, CD

8/22/2022 - Mon
gheist

Just replace error page with maintenance page.
David Johnson, CD

set your default page to: maintenance.html, the designers will have to go to http:\\example.com\default.aspx, when complete set your default page to default.aspx
r_pat72

ASKER
My application is a MVC application, if my default page set to maintenance.html also, if a person knows the url, he can type the url & start seeing the content.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
gheist

Make a new small site with maintenance page and direct your site front-end to that site.
Sure if somebody knows IP of your backend thay still can connect to your site.
r_pat72

ASKER
is there anything I can set on web.config which will redirect to the other site maintenance page , if any users have bookmarked any site page.
ASKER CERTIFIED SOLUTION
David Johnson, CD

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.