Jump to content

subdirectory of a website request to another server using LB


Recommended Posts

I have a portal with domain name; example.com , and it is bound to a Web Application that is running on a machine with IP address 111.111.111.111 .I also have another web application running on a machine with IP address 222.222.222.222. So,what i need is when server receives an HTTP request with a URL that contains a subdirectory named MobApp it shall redirect to the IP address 222.222.222.222.

For example;

If request url is something like example.com/OldApp or example.com then request shall be served by the web application running on machine with IP address 111.111.111.111

if request url starts with example.com/MobApp then request shall be served by the web application running on machine with IP address 222.222.222.222

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...