JapCarForum
Redirecting Websites - Printable Version

+- JapCarForum (https://www.japcarforum.com)
+-- Forum: General Discussions (https://www.japcarforum.com/forumdisplay.php?fid=3)
+--- Forum: The JCF Lounge (https://www.japcarforum.com/forumdisplay.php?fid=17)
+---- Forum: Non Car Related Chat (https://www.japcarforum.com/forumdisplay.php?fid=148)
+---- Thread: Redirecting Websites (/showthread.php?tid=13583)



Redirecting Websites - reganlives - 25-03-2022

We have recently migrated all of our production servers at work to our new hosted environment but we have websites on a couple of servers. Now as part of the project we are slowly upgrading and tidying up the servers so that we have a more secure cleaner environment to work with. One of the servers has live customer facing sites which if they're going to be down need to be redirected to a maintenance page.

What's the best way of doing this? Is there a way to redirect IP x to IP y automatically if needed?


Redirecting Websites - DaveEdin - 26-03-2022

If the systems they are facing are down and you'd get a 404 page not found error returned, just edit the .htaccess file to add an ErrorDocument that points to the location of your "under maintenance" page?

Take a look here for some ideas:

http://www.smashingmagazine.com/2009/06/12/effective-maintenance-pages-examples-and-best-practices/


Redirecting Websites - reganlives - 26-03-2022

I'll look into that mate. Found the below which looked interesting though...

http://www.howto-expert.com/how-to-create-a-server-failover-solution/