Forum Discussion
Dixit_18200
Nimbostratus
Dec 12, 2008Need Help
Hi,
I am Dixit and i have started working on f5 load balancer from past few month. Can some one please help me with irules. We have a requirement where in we need to redirect a website to another website which is not hosted in our environemt.
For example if www.xxxx.com is pointing to our load balancer VIP can i redirect this to www.yyyy.com which is not hosted in our environment and is over the internet?
Please help me.
1 Reply
- James_Quinby_46Historic F5 AccountIf all you want to do is redirect any and all requests for www.xxx.com to www.yyy.com, the following should do it:
when HTTP_REQUEST { HTTP::redirect http://www.yyy.com }
Simply apply this to the VIP of www.xxx.com, and you're done.
I'm curious to know more about the use-case though. Is this for a 'maintenance page' or something like that, which will be shown when the main site is down? There may be a more elegant way to get where you want to go...
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
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
