Azure - Adding Wesite Maintenance Page

r_pat72
r_pat72 used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2015

Commented:
Just replace error page with maintenance page.
Top Expert 2016

Commented:
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

Author

Commented:
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.
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

Top Expert 2015

Commented:
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.

Author

Commented:
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.
Top Expert 2016
Commented:
since you control the domain you can simply set the dns name to point to somewhere else.. the dev's can use the name.azurewebsites.net address

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial