can i redirect my page to other website or display any message if the server is down

indians

New Member
Messages
73
Reaction score
0
Points
0
Dear All,

can i redirect my page to other website or display any message if the server is down.

in case the server is down. i want to display a message to the visitors to come back later or server is down. can i do it if so plz guide me in doing it.

Thank you in advance,
Indian
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
Re: can i redirect my page to other website or display any message if the server is d

If the server is down, it can't issue a redirect command. That's the problem.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Re: can i redirect my page to other website or display any message if the server is d

If the server is down, no.

If you have a MySQL driven site (WordPress, Joomla, SMF, etc), yes. They all have ways to set up error pages other than the vanilla 'Could not connect to database' pages. You can set one up to either display a more informative error message or use a redirect (via headers or via META tags) to an outside server.
 

indians

New Member
Messages
73
Reaction score
0
Points
0
Re: can i redirect my page to other website or display any message if the server is d

If the server is down, it can't issue a redirect command. That's the problem.

can i do it from my domain side by giving some values or so.

---------- Post added at 10:52 PM ---------- Previous post was at 10:51 PM ----------

If the server is down, no.

If you have a MySQL driven site (WordPress, Joomla, SMF, etc), yes. They all have ways to set up error pages other than the vanilla 'Could not connect to database' pages. You can set one up to either display a more informative error message or use a redirect (via headers or via META tags) to an outside server.

can u further explain with the solution. i am using wordpress, SMF and phpbb3. so what i can do when i face a problem of server down.
 

cybrax

Community Advocate
Community Support
Messages
764
Reaction score
27
Points
0
Re: can i redirect my page to other website or display any message if the server is d

If the visitor has a page bokmarked / saved or otherwise still in their browser cache then a javascript routine could detect that images for instance are missing from the page and perform the re-direct to an alternate server.

Of course comes the next problem, the database synchronisation. For a web site with relatively static content this is less of an issue but if you are running a forum as well then it's a nightmare.

Fun as it is innovating solutions to work around the limitations of free hosting sometimes the only cost effective solution is to go 'Pro' and pay for the hosting.
 

xbil125757

New Member
Messages
2
Reaction score
0
Points
0
Re: can i redirect my page to other website or display any message if the server is d

thnkzzz a lot for the info dere, was looking for dis..:wink::wink::wink:
 
Top