Forum Discussion

JeremyTHall15_3's avatar
JeremyTHall15_3
Icon for Nimbostratus rankNimbostratus
Aug 29, 2018

Redirect main domain as wildcard into a specific domain

Hello all!

 

So what I would like to do is to redirect the domain (.com) into (.com/index.html). Because there is alot of sites, I would like to simplify the rule if possible where it knows to take the '*' and have it replaced with the VIP name or something to that sort. anyone could help me out?

 

  • If you want to redirect any hostname ending with .com and uri equals / to same hostname and uri /index.html, use a LTM policy with one rule:

     

    • conditions
      • http-host ends-with .com
      • http-uri path equals /
    • action
      • http-reply redirect /index.html