I have IIS set up on my server, but also Apache x2 (other products which comes with their own servers, cannot be integrated into IIS.)
Is it possible for me to "port-forward" certain domains on port 80 (that IIS handles) to those other ports?
For instance:
- www.vkarlsen.no -> IIS
- svn.vkarlsen.no -> port 81 on same machine
- teamcity.vkarlsen.no -> port 82 on same machine
Or do I just need to set up those domains and redirect to the correct port? I'd like the domain name and url to be transparent to the user, but perhaps that won't work.
Can anyone shed some light on this?
Seems you're mixed two possible solutions: 1) If you want to access various services with different port numbers (svn.vkarlsen.no:81, teamcity.vkarlsen.no:82) - just create multiply sites in your IIS and specify unique port number for every site. 2) If you want to setup all your sites to share one IP - check IIS configuration for "host headers" option.
This post describes how to complete the task if you have IIS 7.5:
http://jonalb.com/post/2010/10/23/TeamCity-On-Port-80-In-IIS.aspx
I'm trying this out now.