0

I'm running two apps on a single EC2 instance:

  1. Website on Apache running on Port 80
  2. Java Application on port 8080 which is used by my android app.

The way I access Java application by hitting the URL example.com:8080.

Now I want to move my Java application to java.example.com:8080 without changing the hostname example.com:8443 which is hardcoded inside my android app.

So is it possible for re-routing all requests coming to example.com:8080 to java.example.com:8080?

Thanks in advance for the help!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.