Hello,
So in order to modify server-01.mydomain.local or server-02.mydomain.local by myapplication.mydomain.com you can rewrite the response.
So you can use a stream profile. that you will set in your VS.
In your stream profile you have to leave the source blank
the target field format should be used when you have more than a single substitution.
you will enter the following command:
@server-01.mydomain.local@myapplication.mydomain.com@@server-01.mydomain.local@myapplication.mydomain.com@
At first try with a profile stream, we can also use an irule.
Let me now if it's work.
regards