Forum Discussion

1 Reply

  • Hello Qamar,

     

    You can use this example of code to do that.

     

    You have to add this irule to ressources of the VS listening on 10.10.10.10:80

     

    when HTTP_REQUEST {
     if { [HTTP::host] eq "10.10.10.10" } {
            HTTP::respond 301 noserver Location https://abc.com
        }
    } 

    Hope that it helps

     

    Regards