JapCarForum General Discussions The JCF Lounge Non Car Related Chat Redirecting Websites

Redirecting Websites

Redirecting Websites

reganlives
Posting Freak
1,230
25-03-2021, 06:35 AM
#1
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?
reganlives
25-03-2021, 06:35 AM #1

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?

DaveEdin
Posting Freak
5,657
26-03-2021, 04:17 AM
#2
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/

IS200 Sport - Sold
Mazda 6 MPS - Zoom Zoom!

Modifications
Completed:

Currently 280bhp/295lbft; 3" Meercat custom exhaust; KW Suspension; FMIC; SSP; HPFP; Custom Stainless Steel Dials - for the moment, the only set in the world!! (Till the group buy for MPSOC anyway :lol: )

In Progress:

E-Tuning remap ongoing via Cobb Accessport; Braided brake lines; Stubby aerial; Tinted repeaters and sidelights; 3 Port Boost Control Solenoid; 3" HTP Intake
DaveEdin
26-03-2021, 04:17 AM #2

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/


IS200 Sport - Sold
Mazda 6 MPS - Zoom Zoom!

Modifications
Completed:

Currently 280bhp/295lbft; 3" Meercat custom exhaust; KW Suspension; FMIC; SSP; HPFP; Custom Stainless Steel Dials - for the moment, the only set in the world!! (Till the group buy for MPSOC anyway :lol: )

In Progress:

E-Tuning remap ongoing via Cobb Accessport; Braided brake lines; Stubby aerial; Tinted repeaters and sidelights; 3 Port Boost Control Solenoid; 3" HTP Intake

reganlives
Posting Freak
1,230
26-03-2021, 04:24 AM
#3
I'll look into that mate. Found the below which looked interesting though...

http://www.howto-expert.com/how-to-creat...-solution/
reganlives
26-03-2021, 04:24 AM #3

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

http://www.howto-expert.com/how-to-creat...-solution/

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)