Jump to content

Needs help with redirection


123456

Recommended Posts

Hi Everyone,

  I am pretty new to apache so please try and bare with me. The scenario is this:

 

I have server A that will go down for say 6 hours, will have no power. So in my DNS I want to redirect all requests to server B. This is where I get a bit stuck.  How do I make all redirected incoming requests to server B go to a maintenance page I have created. So basically I need all http, https requests to go to a maintenance page on server B. Also customers have customized links as well so I need something like xxx.com/xxxxxxx.xxx.xx all go to the maintenance page. I was messing with the Mod Rewrite plugin but I can't seem to get it to do what I need.

 

Thanks for any help!

Link to comment
https://forums.phpfreaks.com/topic/109963-needs-help-with-redirection/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.