title: Reverse proxy apache for TeamCity
body: <p>I need to redirect a cname to a port.</p>
  
  <p>I have Teamcity running on my server (at port 8111), I want to make teamcity.mydomain.com be redirected to mydomain.com:8111. So I will just need to type teamcity.mydomain.com to get into teamcity server.</p>
  
  <p>I have read that reverse proxy from apache would do it for me, but so far I could not get it setup correctly.</p>
  
  <p>ps.: it works when I do mydomain.com:8111.</p>