Forum Discussion
Redirect traffic from an old site to an existing
How can I setup an iRule on F5 to redirect users of a site (acquired) to another site?
example: Site A (push.apple.com) has its own VIP on the F5. Site B (blackberry.com) has its VIP on the same F5. We want to reclaim the VIP from Site A after we have successfully redirected users to Site B.
Do we need to create a CNAME for Site A on Site B and then use a redirect so that users won't see Site A on their browsers but instead Site B.
3 Replies
- SynACk_128568
Cirrostratus
Hi You can use irule to redirect http 301 to the site B . i suppose you are retiring the site A .
Irule:
When HTTP_REQUEST { if { [string tolower [HTTP:HOST]] equals "push.apple.com"} { HTTP:respond 301 Location "blackberry.com" }
- ERLomboy_27803
Nimbostratus
Hi SynACk, Yes, we're retiring Site A but we'd want to reclaim the VIP assigned to it and repurpose. Do we still need to do any DNS changes? - SynACk_128568
Cirrostratus
I dont think any dns changes required
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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