Forum Discussion
Gregt_33960
Nimbostratus
Nov 12, 2008When Website is unavailable
Hello,
I had, what I hope is a simple question. Is there a way to have the F5 point to a "under construction" or "website is down" html page? I have several pools and subsequent website...
JRahm
Admin
Nov 12, 2008You can set the fallback host in the http profile, which will redirect traffic to the destination you configure. If you want more granular control, you can set this in an iRule:
when LB_FAILED {
HTTP::fallback "http://siteunavailable.mysite.com/"
}
If you don't have another server to redirect to, you can always serve the page from the LTM itself. Here are two examples from the codeshare
Text-only: http://devcentral.f5.com/wiki/default.aspx/iRules/LTMMaintenancePageLite.html Click here
Text with Images: http://devcentral.f5.com/wiki/default.aspx/iRules/LTMMaintenancePage.html Click here
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects