Replacing The Host Header Sent To a Server

If you type a DNS name in the URL bar and your site has a different hostname, you can change the header being passed to the server on the LoadMaster. To do this, 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. Click Show Header Rules.

  8. In Request Rules, select Change_Header and click Add.

This rule will match what is currently in the host header and will change it to the domain.com.

 

Was this article helpful?

0 out of 0 found this helpful

Comments

Avatar
parag.bharne

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 example.com:8080 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