Note: I am new to this situation!
How do we manage to to redirect every request during maintenance to a page which says the site is under maintenance mode?
I want to automate this process (through cron):
- Shutdown apache
- Do maintenance (During this time every request should be redirected to the maintenance page)
- Start apache
In point 2 how do I redirect each request when apache is down or how do people manage this (automated)? Appreciate your responses.