You are currently reviewing an older revision of this page.
The Static and Dynamic Content URLs are configured in custom.properties, such as shown below:
conf.suite.SERVER_AND_PORT=example.appian.comconf.suite.STATIC_SERVER_AND_PORT=example.appian-static.comconf.suite.DYNAMIC_SERVER_AND_PORT=example.appian-dynamic.com
conf.suite.SERVER_AND_PORT=example.appian.com
conf.suite.STATIC_SERVER_AND_PORT=example.appian-static.com
conf.suite.DYNAMIC_SERVER_AND_PORT=example.appian-dynamic.com
However, some features that rely on the Static and Dynamic Content URLs (like the Document Viewer component) may not work.
All of the following symptoms are present:
The following errors are NOT present in <APPIAN_HOME>/logs/tomcat-stdOut.log:
<APPIAN_HOME>/logs/tomcat-stdOut.log
WARN com.appiancorp.suite.SuiteConfiguration - Misconfigured STATIC_SERVER_AND_PORT property in custom.properties - The static content hostname cannot use the same domain as SERVER_AND_PORT or DYNAMIC_SERVER_AND_PORT. Some Appian features will not be available.WARN com.appiancorp.suite.SuiteConfiguration - Misconfigured DYNAMIC_SERVER_AND_PORT property in custom.properties - The dynamic content hostname cannot use the same domain as SERVER_AND_PORT or STATIC_SERVER_AND_PORT. Some Appian features will not be available
The Static and Dynamic Content URLs cannot be accessed over the browser:
The document viewer component can't render the document and the following error displays:
Routing for the Static and Dynamic Content URLs are not configured properly or have not been set up.
Work with a network administrator to add routing for the Static and Dynamic URLs in DNS.
The Static and Dynamic URLs can be accessed locally or from another computer by editing its hosts file to route for these URLs.
Example:
With the below configuration in custom.properties:
Add the following lines to the computer's hosts file:
<IP_OF_example.appian.com> example.appian-static.com<IP_OF_example.appian.com> example.appian-dynamic.com
<IP_OF_example.appian.com> example.appian-static.com
<IP_OF_example.appian.com> example.appian-dynamic.com
This article applies to on-premise Appian 18.3 and later.
Last Reviewed: January 2019