Forum Discussion
vysakh158_15244
Nimbostratus
May 05, 2014Hostname in F5
I have configured my web servers. I need to configure hostname now. That is when someone type www.xyz.com, it must be redirected. Can this be done in F5 loadbalancer? If so, can some one point me to ...
Kevin_Stewart
Employee
May 05, 2014Take a look at the last example on the HTTP::host wiki page.
https://devcentral.f5.com/wiki/iRules.HTTP__host.ashx
when HTTP_REQUEST {
if { [HTTP::host] equals"www.xyz.com"} {
HTTP::redirect "http://www.abc.com/index.html"
}
}
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