Hi All
Below is a question regarding port forwarding in Linux that someone asked and got a reply
already. I'm just reposting a version modified to my situation.
Could someone help me out on how to do this in Windows Server 2008 please?
My company has a IIS server running an application. They would like to host it from different ports to different clients; how to forward the requests to a specific port based on the domain name?
In a nutshell I want
www.firstdomain.com/app to go to 8080 and
www.seconddomain.com/app to go to port 8081 seemlessly with sessions etc... (I do not want people to see the trailing port numbers by the way)
We don't host firstdomain nor the seconddomain as they are our customers buying the app so I can't change their DNS records etc.
Also if it turns out that we can modify their dns entries, would it be possible to create a dns record pointing to our server and a port?
Appreciate any help,
Thanks,
Pawel.
So, you would have your IIS server with the IP address of 1.1.1.1
You would create DNS entries for www.firstdomain.com and www.seconddomain.com and give them the same IP address of 1.1.1.1
On your IIS server, you would have multiple websites and under the properties, you would specify the URL that the website should accept traffic for.
Failing that, you could do this at a firewall level.