Forum Discussion

WetDawg_98133's avatar
WetDawg_98133
Icon for Nimbostratus rankNimbostratus
Oct 29, 2008

Multiple Apps on the same Virtual Server with same pool?

Noob question here.

 

 

We have an existing virtual server that load balances a web app across three member servers. We want to add another site on the same three web servers.

 

 

Problem is, when we setup the DNS entry for the new site and pointed it to the F5 like the other site, we are getting sent to the wrong site (the original site).

 

 

If we go directly to each of the servers we get the correct site, through the F5 it does not seem to be passing the header info so the web server can sort out the virtual host name at thier level.

 

 

Any thoughts on how we can fix this.

1 Reply

  • Hi there,

     

     

    By default LTM shouldn't modify the HTTP headers. If the client makes a request with a host header, LTM should pass it through unchanged to the pool member. The main thing that would change when going through LTM would potentially be the source IP address if you have SNAT enabled. If you capture a tcpdump on both legs of the request, you should see the same HTTP host header.

     

     

    The only thing I can think of where the host header would be different between going through LTM and going direct to the server would be for ports. Is it possible that the client is making a request to the VIP on a nonstandard port with the port number in the host header and the pool member is configured on a different port? If so, perhaps the client request isn't matching the virtual host definition?

     

     

    Also, if you post in the advanced config section (Click here), you'll get more relevant eyes on your post.

     

     

    Aaron