Configuring server URL
Last modified: 20 April 2023This feature is available since version 2.1.
In most cases TeamCity correctly autodetects its own URL and uses it for constructing URLs in notification messages. But sometimes it impossible, for example, the server might be running on HTTP and HTTPS or it might be hidden behind the Apache web server. For such cases you can specify server URL in the main-config.xml file:
<server rootURL="http://some.host.com:port"> </server>
This URL will be used when URLs in notification messages are constructed.
Thanks for your feedback!
Was this page helpful?