Using same symbolic IP address from RPi in sitemap for more RPi devices

Please how to set in openhab2 without openhab.cfg a symbolic ip rpi address,
“rpi.local” without necessary using “192.168.x.y” in sitemap in statement like:

Webview url="http://192.168.100.11:3001/ …working
Webview url="http://rpi.local, or localhost:3001/ …not working
Webview url="https://pvoutput.org …working

My raspbian hosts file:
127.0.0.1 localhost
127.0.0.1 rpi4
192.168.100.11 rpi.local

All other devices in same local network and external web addresses are referenced well from openhab2.

I would have same complete openhab2 parametrisation with ** with same symbolic address of RPi**.
In hosts I can define different IP address for each RPi of course different.
Thanks.

  • Platform information:
    • Hardware: Rpi4 4GB Ram
    • OS: Raspbian newest
    • Java Runtime Environment: which java platform is used and what version
    • openHAB version:2.5.12, classic view
  • Network TCP cable, Wifi over internal

OpenVPN installed on Mikrotik router… working