Redirecting Websites
Redirecting Websites
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?
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/...practices/
I'll look into that mate. Found the below which looked interesting though...
http://www.howto-expert.com/how-to-creat...-solution/