# It is possible to set same Web server name - Apache tomcat

**URL:** <https://community.dynatrace.com/t/it-is-possible-to-set-same-web-server-name-apache-tomcat/33253>\
**Category:** Open Q&A\
**Tags:** services-classic, documentation, apache\
**Created:** [November 11, 2021, 12:42pm UTC](https://community.dynatrace.com/t/it-is-possible-to-set-same-web-server-name-apache-tomcat/33253 "2021-11-11T12:42:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Romanenkov\_Alex](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/romanenkov_alex/32/27497_2.png) [@Romanenkov\_Alex](https://community.dynatrace.com/u/Romanenkov_Alex)\
**Post date:** [November 11, 2021, 12:42pm UTC](https://community.dynatrace.com/t/it-is-possible-to-set-same-web-server-name-apache-tomcat/33253/1 "2021-11-11T12:42:02Z")

</div>

Hello!

I have two identical servers. App server - apache tomcat.

It is fully identical.

First server was added at OA version ~150

Last server was added at OA version ~210

All of my App servers are in ONE Process GROUP.

For Custom service - everything is fine.

For automatic web request service - it is PAIN.

For first service - web server name is “**[some.ru](http://some.ru)**” for OLD server.

For second service - web server name is “ **Catalina/some.ru** ” for NEW server.

Can I with some DT\_ environment variables say to OA define correct web server?

I have billion settings: key requests, API integrations, naming rules, dashboards&nbsp; for my **OLD** service.

I want to have both servers on ONE service as I have for Custom service type.

Please, help me with this problem.

Regards,

Alexander

---

<div class="post-metadata">

**Author:** ![fstekelenburg](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fstekelenburg/32/22029_2.png) [@fstekelenburg](https://community.dynatrace.com/u/fstekelenburg)\
**Post date:** [November 12, 2021, 9:22am UTC](https://community.dynatrace.com/t/it-is-possible-to-set-same-web-server-name-apache-tomcat/33253/2 "2021-11-12T09:22:46Z")

</div>

Hi Alexander,

Have you tried with setting a Custom service naming rule?

See:&nbsp;[Service naming rules | Dynatrace Documentation](https://www.dynatrace.com/support/help/how-to-use-dynatrace/transactions-and-services/service-detection-and-naming/customize-service-naming/)  
“_Dynatrace&nbsp;[automatically detects and names your applications’ server-side services](https://www.dynatrace.com/support/help/how-to-use-dynatrace/transactions-and-services/service-detection-and-naming/)_&nbsp;_based on basic properties of your application deployment and configuration. Built-in rules define these names. These properties and the resulting service names should be intuitive to you because they reflect your service landscape. Still, you might want to customize these names. Custom service naming rules enable you to enhance automated service naming_.”

Maybe another brute method would be re-installing OA on the old server?

---

<div class="post-metadata">

**Author:** ![Romanenkov\_Alex](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/romanenkov_alex/32/27497_2.png) [@Romanenkov\_Alex](https://community.dynatrace.com/u/Romanenkov_Alex)\
**Post date:** [November 12, 2021, 9:44am UTC](https://community.dynatrace.com/t/it-is-possible-to-set-same-web-server-name-apache-tomcat/33253/3 "2021-11-12T09:44:47Z")

</div>

Big thanks for reply.

Yes, I think&nbsp;your method will work.

It is good if you want to&nbsp;lose 2-3 working weeks to migrate settings, due to the absence of templates in Dynatrace… But I have no this time.

Why we have no&nbsp;elementary documentation about this case. Why?

**Is there ANY DT\_ environment variable as DT\_CLUSTER\_ID - to change&nbsp;&nbsp;web server name to correct value?**

Regards,

Alexander
