By default, URLs generated in Artifactory use the context URL returned by your servlet container as a base.
A custom URL base is useful when Artifactory is running behind a proxy. In this case the base for URLs generated in Artifactory for links and redirect responses must be specified manually.
Another reason to change the base URL would be to have non-request-based operations in Artifactory use the correct address, for example in generated emails.
This may also be modified using the Update Custom URL Base REST API.
Overriding the Custom URL Base
You can override the Custom URL Base by adding an
X-Artifactory-Override-Base-Url HTTP header to your request. This can be useful if you need Artifactory to answer to more than one host name.