Hi,
I want to know how to setup the "Under Maintenance" page for the
website?
Here is the thing:
I have application setting in web.config called "MMode". I set it to
"Y" when I need to do site maintenance such as changes in the backend
database, etc.
Then inside aspx pages, I check if MMode is set to "Y" and if so, I
redirect to the custom under maintenance page.
This is all fine as long as website is running.
But now if the website is Stopped inside IIS itself, it will not
redirect to the under maintenance page since website is not running at
all.
So in such situation how do I notify users that the site is down for
maintenance by displaying custom page?
Thanks in advance.
Vikram 3 11526
On May 3, 4:57 pm, vikramp <vpu...@gmail.comwrote:
Hi,
I want to know how to setup the "Under Maintenance" page for the
website?
Here is the thing:
I have application setting in web.config called "MMode". I set it to
"Y" when I need to do site maintenance such as changes in the backend
database, etc.
Then inside aspx pages, I check if MMode is set to "Y" and if so, I
redirect to the custom under maintenance page.
This is all fine as long as website is running.
But now if the website is Stopped inside IIS itself, it will not
redirect to the under maintenance page since website is not running at
all.
So in such situation how do I notify users that the site is down for
maintenance by displaying custom page?
Thanks in advance.
Vikram
Why it has to be stopped?
On May 3, 2:59 pm, Alexey Smirnov <alexey.smir...@gmail.comwrote:
On May 3, 4:57 pm, vikramp <vpu...@gmail.comwrote:
Hi,
I want to know how to setup the "Under Maintenance" page for the
website?
Here is the thing:
I have application setting in web.config called "MMode". I set it to
"Y" when I need to do site maintenance such as changes in the backend
database, etc.
Then inside aspx pages, I check if MMode is set to "Y" and if so, I
redirect to the custom under maintenance page.
This is all fine as long as website is running.
But now if the website is Stopped inside IIS itself, it will not
redirect to the under maintenance page since website is not running at
all.
So in such situation how do I notify users that the site is down for
maintenance by displaying custom page?
Thanks in advance.
Vikram
Why it has to be stopped?- Hide quoted text -
- Show quoted text -
Well... it has not been stopped. It is working fine.
But it will be stopped periodically for maintenance and during this
time if any user tries to visit the site, it will just display default
IIS error page. I want to avoid that and display some custom error
page that says Site is under Maintenance.
Thanks.
On May 4, 5:15 pm, vikramp <vpu...@gmail.comwrote:
On May 3, 2:59 pm, Alexey Smirnov <alexey.smir...@gmail.comwrote:
On May 3, 4:57 pm, vikramp <vpu...@gmail.comwrote:
Hi,
I want to know how to setup the "Under Maintenance" page for the
website?
Here is the thing:
I have application setting in web.config called "MMode". I set it to
"Y" when I need to do site maintenance such as changes in the backend
database, etc.
Then inside aspx pages, I check if MMode is set to "Y" and if so, I
redirect to the custom under maintenance page.
This is all fine as long as website is running.
But now if the website is Stopped inside IIS itself, it will not
redirect to the under maintenance page since website is not running at
all.
So in such situation how do I notify users that the site is down for
maintenance by displaying custom page?
Thanks in advance.
Vikram
Why it has to be stopped?- Hide quoted text -
- Show quoted text -
Well... it has not been stopped. It is working fine.
But it will be stopped periodically for maintenance and during this
time if any user tries to visit the site, it will just display default
IIS error page. I want to avoid that and display some custom error
page that says Site is under Maintenance.
Thanks.- Hide quoted text -
- Show quoted text -
I think the only way is to have a second site with the same host
header. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: dm4714 |
last post by:
Hello - we have an ecommerce application that needs to come down for
maintenance. The application is normally only accessed via
http://www.mydomain.com/virtualdir/aspfile.asp.
I'm using W2K...
|
by: Ralph Soons |
last post by:
Hi all,
I am looking for a correct way to setup my website layout. For instance: I
would like to have a selection mechanism (like tree or something) on the
left and the page data on the right.
...
|
by: Bill |
last post by:
Ok, so we have a server running Win 2003 Server, and IIS 6.0. We have
successfully worked projects from this server using VS 1.1 on remote
development machines. We want to get started using VS...
|
by: sudhaoncyberworld |
last post by:
Hi all
I am using VS2005, How can I deploy the .Net Framework from my setup
project?
In the bootstrapper setup program we have below 3 options
1.Download prerequisites from the component...
|
by: mkhmer |
last post by:
Hello,
I want to have my site able to alert User and then Disconnect all current
user from accessing the pages for website maintenance purpose.
If anyone have any idea of this aiming?
...
| |
by: Harvnet |
last post by:
I am a newbie programmer, using lots of books and online resources. I
need help to get my asp.net page to work because right now all I am
getting is errors.
The project is to have a drop down...
|
by: =?Utf-8?B?WmlhbmdpIEpvbmVz?= |
last post by:
Hi,
I m using VS .NET 2003 to create a website. Using the setup package I create
a setup as well.
But this setup has files with actual code in it & not pre-compiled DLLs.
Please let me know...
|
by: =?Utf-8?B?YzY3NjIyOA==?= |
last post by:
Hi all,
We have two sites hosted on different servers and we have many pages on
domain A which has many links(asp programs) to domain B.
My question is if domain B server is in trouble, what is...
|
by: Mike Gleason jr Couturier |
last post by:
Hi,
What's a clean way to redirect users on an information page while doing site
maintenance...
Can we do it with urlMappings !? (wildcard "*"?)
Thanks
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |