+ Reply to Thread
Results 1 to 6 of 6

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

  1. #1
    indians is offline x10Hosting Member indians is an unknown quantity at this point
    Join Date
    Dec 2007
    Posts
    73

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

    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

  2. #2
    Livewire's Avatar
    Livewire is online now Abuse Compliance Officer Livewire is a glorious beacon of lightLivewire is a glorious beacon of light
    Join Date
    Jun 2005
    Location
    Behind a keyboard.
    Posts
    8,998

    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.


    TOS breakers will be suspended regardless of race, creed, national origin, hair color, or favorite food. Thanks for your understanding!

  3. #3
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    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.
    Nothing is always absolutely so.

  4. #4
    indians is offline x10Hosting Member indians is an unknown quantity at this point
    Join Date
    Dec 2007
    Posts
    73

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

    Quote Originally Posted by Livewire View Post
    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 ----------

    Quote Originally Posted by descalzo View Post
    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.

  5. #5
    cybrax's Avatar
    cybrax is offline x10 Elder cybrax is on a distinguished road
    Join Date
    Aug 2009
    Location
    UK
    Posts
    699

    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.
    The code must flow.
    Project 157: Latest UK Jobs direct to your mobile phone
    New Domain under construction: Lovelogic.net
    home for some new projects that we can't keep here ;)


  6. #6
    xbil125757 is offline x10Hosting Member xbil125757 is an unknown quantity at this point
    Join Date
    Oct 2010
    Posts
    2

    Smile 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..

+ Reply to Thread

Similar Threads

  1. Replies: 1
    Last Post: 07-08-2010, 10:55 AM
  2. Replies: 3
    Last Post: 06-09-2010, 06:22 PM
  3. error message (internet explorer cannot display)?
    By bmwclassifieds in forum Free Hosting
    Replies: 1
    Last Post: 05-23-2010, 06:23 AM
  4. Website load and display a blank page
    By cis320 in forum Free Hosting
    Replies: 4
    Last Post: 04-01-2010, 05:34 AM
  5. Replies: 1
    Last Post: 12-07-2009, 07:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers