Forum Discussion
youssef1
Jun 23, 2020Cumulonimbus
Hello,
For your need you have to set your hostname in LB_SELECTED event when the backend server will be selected:
when LB_SELECTED {
HTTP::header replace Host "subdomain.[LB::server addr].com"
log local0. "serverIP $serverIP"
log local0. "Host: [HTTP::header value Host]"
}
So you don't need to insert the port, this one will be redirect automaticly (by default in your VS the Port Translation is checked).
kee p me in touch if you need more details.
regards.