Forum Discussion
Gregt_33960
Nimbostratus
17 years agoWhen 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
17 years agoYou 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
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