Configuring Server URL
The server URL configured in the Administration UI (on the Administration | Global Settings page) is used by the server to generate links to the server when the URL cannot be derived from any other parameter. These cases include Notifications (email, Jabber, and so on) and some other actions performed not within a web request. All generated links will be prefixed by this URL.
Make sure the server is accessible by the URL specified.
In most cases TeamCity correctly autodetects its own URL and sets it as the Server URL. However, sometimes auto-detection is not possible/correct (for example, when the TeamCity server is running behind the Apache proxy). For such cases you can specify the server URL using one of the options:
on the Administration | Global Settings page
<TeamCity Data Directory
>/config/main-config.xmlfile using the following format (no server restart is required after the change):