how can I redirect traffic of all websites (and not one of them) to a page in apache2 conf file?
the goal is creating a maintenance page for all domains.
I have a server with multiple domains. Both http (apache) traffic and http-alt (tomcat) traffic.
If/when I take the server down, I'd like to be able to redirect people to a temporary 'undergoing maintenance' page, regardless of their destination URL/port.
How can this be achieved?
During website maintenance, it is sometimes necessary to shutdown our website.
Our current method is to touch a file which will trigger the web server (nginx) to redirect traffic to a maintenance page hosted in Amazon S3.