# Different applications using the same domain

**URL:** <https://community.dynatrace.com/t/different-applications-using-the-same-domain/42611>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic\
**Created:** [November 14, 2023, 1:18pm UTC](https://community.dynatrace.com/t/different-applications-using-the-same-domain/42611 "2023-11-14T13:18:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wferreirax](https://avatars.discourse-cdn.com/v4/letter/w/c5a1d2/32.png) [@wferreirax](https://community.dynatrace.com/u/wferreirax)\
**Post date:** [November 14, 2023, 1:18pm UTC](https://community.dynatrace.com/t/different-applications-using-the-same-domain/42611/1 "2023-11-14T13:18:48Z")

</div>

Good morning.  
I have two applications using the same domain.  
xxxx.com.br/apl01  
xxxx.com.br/apl02  
How to separate these two environments?

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [November 14, 2023, 1:47pm UTC](https://community.dynatrace.com/t/different-applications-using-the-same-domain/42611/2 "2023-11-14T13:47:18Z")

</div>

Hi&nbsp;[@wferreirax](https://community.dynatrace.com/user/65996),

Have you tired this kind of configuration?

 ![Mizs_0-1699969610086.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/0/50fdfd29e30ecf77216d991ec5672c405895ae1b.png)

I hope it helps.

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [November 14, 2023, 1:58pm UTC](https://community.dynatrace.com/t/different-applications-using-the-same-domain/42611/3 "2023-11-14T13:58:51Z")

</div>

Hi,

Generally you need to work on setting a suitable condition e.g. “Contains”, “Start with”, which will apply to the unique part of the URL or Domain.

Details on how to configure these rules and good practice can be found here:

> **[Define applications for Real User Monitoring Classic](https://docs.dynatrace.com/docs/observe/digital-experience/rum-classic/web-applications/initial-setup/define-your-applications-via-the-my-web-application-placeholder)**
>
> Learn how to define your applications following the suggested, manual, or application detection rules approach.

Radek

---

<div class="post-metadata">

**Author:** ![wferreirax](https://avatars.discourse-cdn.com/v4/letter/w/c5a1d2/32.png) [@wferreirax](https://community.dynatrace.com/u/wferreirax)\
**Post date:** [November 14, 2023, 5:05pm UTC](https://community.dynatrace.com/t/different-applications-using-the-same-domain/42611/4 "2023-11-14T17:05:58Z")

</div>

Hello&nbsp;Mizső  
Yes, it helps, in fact I was wondering if Dynatrace would understand /ap01 and /ap02 as a domain extension.

---

<div class="post-metadata">

**Author:** ![wferreirax](https://avatars.discourse-cdn.com/v4/letter/w/c5a1d2/32.png) [@wferreirax](https://community.dynatrace.com/u/wferreirax)\
**Post date:** [November 14, 2023, 5:07pm UTC](https://community.dynatrace.com/t/different-applications-using-the-same-domain/42611/5 "2023-11-14T17:07:20Z")

</div>

Hello Radek  
Thanks for the info.
