Link to home
Start Free TrialLog in
Avatar of ArgieIT
ArgieITFlag for United States of America

asked on

Same host, different domains, different ports, same IP address

Hi,

I have two applications running on a same server:

Application A
Application B

Server X with internal IP 10.0.0.10 and external 75.45.45.45 (simulated IPs)

Application A is accessed through port 8080
Application B is accessed through port 8081

GOAL:

I would like to access Application A through domain appA.com without having to put port number
I would like to access Application B through domain appB.com without having to put port number

What I have done so far:

- Pointed public DNS for both domains to the public IP
- Pointed private DNS for both domains to the internal IP
- Did a binding on IIS for both of them under same IP, differen domain and different port.

I am still unable to achieve what I would like to do.

QUESTIONS:

1) Is it possible to access these applications through their respective domains without having to enter port number?
2) What am I missing?

Thank you!!
Avatar of Cliff Galiher
Cliff Galiher
Flag of United States of America image

If these are both web applications, you can only do what you want with a reverse proxy. You can't do it with DNS and IIS headers alone.
Avatar of ArgieIT

ASKER

Hi Cliff, if that is the case, can you please expand on the reverse proxy solution? Thank you
ASKER CERTIFIED SOLUTION
Avatar of Cliff Galiher
Cliff Galiher
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ArgieIT

ASKER

THanks Cliff; I guess I will have to investigate more on the reverse proxy as its still not very clear to me.

Would like to hear any other opinions if anybody is aware of any other ways to accomplish our goal.

Thank you
from dns prospective there is no option to hide port number however you can do the url re-dirction using reverse proxy.
if you can get help from your Linux admin he might know if that can be achievable in your environment.

in one of my prev. projects, we created a cname appA and pointed it to Linux server which had configuration to re-direct url with port number so users had to only type appA in their browser and it goes to the destination url with the port number.