Showing results for 
Show  only  | Search instead for 
Did you mean: 

Configure Dynatrace RUM to work with applications sharing the same hostname

Frequent Guest


I have the following issue with Dynatrace RUM. The company I'm working for has multiple applications that share the same hostname but are differentiated by the path.

Let's say that the first application is accessible under and the second one under

The traffic to the application pods is proxied using Kubernetes Ingress Controller from Kong. 

The problem is that I get 404 when requesting the ruxitagentjs file because it is being served from the root / path and not from /app1/:

<script type="text/javascript" src="/ruxitagentjs_PLACEHOLDER.js" data-dtconfig="rid=...|agentUri=/ruxitagentjs_PLACEHOLDER.js"></script>. 



I can confirm that the ruxitagentjs file is being correctly injected into application HTML, and it exists under 


One more mention: applications are not visible under the Applications or Web menu entries in Dynatrace, hence I can not configure manually each application. I get the following message:


What I can do in this case?


Dynatrace Mentor
Dynatrace Mentor


I would take a look at the advanced settings in the application (see screenshot below).  This will allow you to determine where the JavaScript file is loaded from.  You could also try injection rules as well, if that doesn't work.  Hope this helps.




Hi, not clear to me, so you defined two Applications, one for app1, one for app2, right? Which detection rule did you apply for each one?

Also, you should always be able to get into your Applications from menu Settings - Monitoring - Monitoring Overview



Hi and thanks for the response!

The Cloud Native Full Stack deployment option has been used for configuring Dynatrace monitoring. I was expecting that the Web Applications will be automatically detected but this is not the case. In my understanding, an application appears in Dynatrace UI when some traffic from it is received by the Dynatrace environment. 

Under Settings - Monitoring - Monitoring Overview I don't see any application right now.





While the JS is injected into your HTLM pages, you still have to define an application detection rule.  I'm not sure what your company is doing, but you should be able to see the default "My web application" where all RUM traffic goes by default, until a app detection rule is defined.

Good hint, @mihail_manoli please check under "Frontend" menu whether default "my web application" is visible and try to activate RUM for it for a while. You'll se traffic flowing and you can check domains/url from which data is collected. Then you can setup a detection rule accordingly.

Featured Posts