Forum Discussion
Lee_Sutcliffe
May 29, 2019Nacreous
This is an simple one and has been asked many times on DC, you'll probably find the answer you're looking for by searching the site.
Eitherway, you can use simple iRule like this:
when HTTP_REQUEST {
if {[HTTP::host] equals "test01.test.com"} {
HTTP::redirect https://test02.test.com[HTTP::uri]
}
}
Otherwise, you can use an Local Traffic Policy, which are better suited for these simple requirements