one VIP can have two domain, one is acutal and one is dummy, only forwarding
I have requirement. two doman Aalpha & Beta , both are internal, Alpha is working and Beta is dummy (future Launh) where domain Alpha example https://alpha.local.ae is working fine on VIP - 192.168.5.20 now another domain Beta is example https://Beta.ae is only configured in DNS record as A recored to resolve to 192.168.5.20 (same VIP) now Can I have iRule in Alpha VIP, that whenver it https://Beta.ae hits to Alpha.local.ae,then it should redirect to domain Alpha but diffenrt URL like https://Alpha.local.ae/dep/Beta/ when HTTP_REQUEST { if { [HTTP::header host] eq "Beta.ae" }{ HTTP::redirect "https://Alpha.local.ae/dep/Beta/" }} when we open direct link https://Alpha.local.ae/dep/Beta/ it is working . however redirect does not work. Not Found HTTP Error 404. The requested resource is not found.380Views0likes5Comments