Redirecting To Another URL

If you have customers still using an old dns name and you would like to redirect them to the newer dns, please follow the steps below in the LoadMaster Web User Interface (WUI):

  1. In the main menu, select Rules & Checking and Content Rules.

  2. Click Create new.

  3.  Use the following Rule.

  4. Click Create Rule.

  5. In the main menu, select Virtual Services and View/Modify Services.

  6. Click Modify on the relevant Virtual Service.

  7. Expand the Advanced Properties section.

  8. Enable Content Switching

  9. Expand Real Server section
  10. Click None

  11. Add Old_URL

  12. In Advanced Properties, go to Not Available Redirection Handling.

  13. Point and to the Virtual Service.

By negating the content match, everything but is sent to the real server. If is matched, then it is sent to the not available redirect handling and redirected to

Was this article helpful?

1 out of 1 found this helpful



Great, it worked fine for redirecting my https site to an internal http (port 80) server.



This wasn't 100% successful for me.

I found that if the Real Server(s) became unavailable for any reason, the User's browser would enter into an infinite redirect loop, until the browser cancels it.

The request couldn't be handled because there were no Real Servers available, therefore the request is redirected to the URL in the "Not Available Redirection Handling" setting which is the same Virtual Service, which means the same action occurs on the redirect making another redirect to the same location, and so on, and so on.

You can not set the Sorry Server, because this disables the Not Available Redirection Handling.

Is there way to handle this scenario while still handling the Real Server becoming unavailable?


I have tried this but it only works with one rule.
I followed the instruction and everything worked. Thee URL got change to the new URL in the address bar. But if a add a new rule to the Real servers with a different domain it stop working.

Edited by raduen

If I want to redirect it to particular port then what I will do
the request coming from 8080 and I will be redirected it to the 8444 (https://%s%h)
I have tried this https://%s:8444%h

when I enter then URL gets vanished.

redirect URL I put is https://:8444%s

I redirect my 8080 requests to 8444 over SSL, and 8444 may VS to another real server

Please tell me correct configurations for the above scenarios

Andres Garcia de Alba

Hello Parag, have a look at this Article "Port 8080 Redirect To HTTPS On Port 8444"