Reputation: 839
Currently, I am hosting a webapp at http://sample1.com:8080/UI_V2/. I am using apache tomcat for hosting it. Now, I want to get rid of this sample1 box. But for a few days, I want to redirect all the requests which comes to http://sample1.com:8080/UI_V2/ to the new box http://sample2.com:8080/UI_V2/
How do I do that?
Upvotes: 0
Views: 412
Reputation: 32567
Put an Apache httpd in front of it and set up a ProxyPass
to point to sample2. This way you'll be able to switch things easier.
Upvotes: 2