Paulius thanks for the reply.
for the first part of your reply, you are correct the internal website will be exposed.
This is uat environment, wherein we have a requirement to provide internal website https://xyzdevops to some vendors from specific geoloacation. So, we thought since we have one url https://abc.xyz.com which is published over the internet, if we can do a url redirect from abc.xyz.com to xyzdevops then our requirement will be achieved.
Secondly, for your second part by doing it with script, i do not have irule or script sxperience, so i play with Traffic Policies as much as possible.
Hope i make it easy for. Your help will be much appreciated 🙂