Forum Discussion

Santavi_241428's avatar
Santavi_241428
Icon for Nimbostratus rankNimbostratus
Mar 05, 2016

two different ip virtual ip redirects to same ip for https

I need one help here. I have two http virtual servers needs to be created and both of them should be redirected to a singe https server..Can somebody help me with the irule please.

 

Also will it be possible to use a single virtual server for two different ip addresses. how?..If that is possible then we want to build a single http virtual server for 2 different ip addreses and redirects both of them to a single https virtual server..Please help..

 

1 Reply

  • I have two http virtual servers needs to be created and both of them should be redirected to a singe https server.

     

    you can just use HTTP::redirect command with fqdn of the https virtual server. apply the irule to both of the http virtual servers.

     

    HTTP::redirect

     

    https://devcentral.f5.com/wiki/iRules.HTTP__redirect.ashx

     

    Also will it be possible to use a single virtual server for two different ip addresses.

     

    i do not think so.