Kemp Support, how can we help?

The latest application delivery knowledge and expertise at your fingertips.

Configure a VS to redirect traffic





This will cover how to configure a VS for the sole purpose of redirecting traffic.


Product: LoadMaster

Version: Any

Platform: Any

Application: Any

Question/Problem Description:

How do I configure a VS to redirect traffic?

Steps to Reproduce:  
Error Message:  
Defect Number:  
Enhancement Number:  
Cause: A VS to redirect traffic may be needed for environmental reasons, specifically if a site or file path is undergoing transition to a new location.
  • Navigate to Virtual Services > Add New. Insert the IP and port the VS should listen on. Note that the Protocol must be TCP. Once completed, click Add this Virtual Service.
  • Navigate to Advanced Properties > change the Not Available Redirection Handling fields to read as having an Error Code of 301 and a Redirect URL of your desired location formatted as <HTTP/HTTPS>://<hostname><URI>.
    • An example would be:
    • Also note that the hostname can be preserved with "%h" in the event that the hostname doesn't change. The URI can be preserved with "%s" for the same reason.
  • If you created a VS that's listening on an encrypted port, you'll need to enable SSL and import and apply a certificate to ensure no insecure notifications are presented.

Was this article helpful?
0 out of 0 found this helpful