Kemp Support, how can we help?

The latest application delivery knowledge and expertise at your fingertips.

Perform a hostname redirect





How to perform an FQDN redirect.


Product: LoadMaster

Version: Any

Platform: Any

Application: Any

Question/Problem Description:

Want to redirect non-FQDN requests to the FQDN URL of specific sites such as http://server to

Steps to Reproduce:  
Error Message:  
Defect Number:  
Enhancement Number:  
Cause: Need to redirect traffic based on hostname.

This can be done in a few different ways. The redirect can visible to the user in the web browser, as well as invisible.

1. To perform a visible redirect, do so by setting a "Not Available Redirection Handling" URL.
2. To do this, create a content matching rule, which matches on the incoming hostname. (/^server$/) and set this to fail on match.  These rules can only be applied on Services in which SSL Acceleration is enabled.  
Host match rule:
3. Then navigate to the relevant VS, and apply the rule under Advanced Properties > HTTP Selection Rules, and add the desired redirect to under "Not Available Redirection Handling"


  • Another way to accomplish this would be an invisible redirect. This can be accomplished simply by creating a Replace Header content rule.
  • Rule type: Replace Header
    Header: Host
    Match String: /^www\.domain\.com$/
    Replace with:


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