title: TeamCity behind an Apache proxy server
body: <p>I have installed latest TeamCity 9, now I want to access it from the public Internet via HTTPS. So I followed the instructions to setup TeamCity behind an Apache proxy server, as <a href="https://confluence.jetbrains.com/display/TCD8/How+To...#HowTo...-SetUpTeamCitybehindaProxyingServer" rel="nofollow">described in the official docs</a>.</p>
  
  <p>Now when I try to access the TeamCity server in the browser I get a 404 page from the Tomcat server. I am not sure what I did wrong, but the issue might be related to the <code>/tc</code> sub folder I have moved the content ROOT into (as described in the docs).</p>
  
  <p>When I connect directly from the server to <code>http://localhost:8111/tc</code> I get exactly the same 404 message.</p>
  
  <p>I feel a bit lost here.<br>
  Any ideas where I should look for the error?</p>
  
  <p>PS: When I move the content ROOT back into the original folder, and set the Apache proxy accordingly, then it works fine. So the issue is indeed related to the <code>/tc</code> sub folder.</p>