Forum Discussion

natewood70's avatar
natewood70
Icon for Nimbostratus rankNimbostratus
May 14, 2015

One VIP with multiple URL's behind it

Hey everyone!

 

I was recently asked to move two servers behind our F5 to perform load balancing for public websites. In our standard setup we have one public IP address per web server and can perform host header redirection on the server itself for multiple URL's. For example:

 

Public IP of 10.1.1.1 (DNS records for mywebsitea.com, mywebsiteb.com, and my websitec.com Internal IP of 10.2.2.2 NAT from 10.1.1.1 to 10.2.2.2

 

Currently the Public IP is NAT'ing to the Internal IP and the server is pushing out content based on the URL.

 

I would like to know if the same thing is possible once the servers are moved behind the F5?

 

Basically I would just change the NAT statement to the VIP of the F5 and let the load balancing take place.

 

I've always been known to over-think solutions and I don't want to get caught up here as my initial search on the issue has lead me down a lot of paths that I am not so comfortable with (and not even sure I need for my environment).

 

So... All that being said, would I be able to just point the NAT to the VIP and have them load balance between two internal server IP's with the same functionality of host header redirection that we have on the one server?

 

Thanks for your time and guidance!

 

1 Reply

  • are both internal servers serving all the domains? if yes, you are right. in addition, you may also have to configure persistence (e.g. source address, cookie, etc) on virtual server to make sure user is persisted to the same internal server throughout his session.