What about adding static IP address to DNS system of the router?
https://von-hamster.ru/os/добавление-статических-адресов-в-роутере-локальный-dns-keenetic-os/
(Russian text, very short and simple to translate into English)
Explanation: It works just like file "hosts" in windows. You add a line with IP address of the forexample1.com and name "forexample.com".
The device that initiates a connection asks router "What is IP address of forexample.com?" The router will answer with the IP address of forexample1.com and thus the device connects to forexample1.com
It goes without saying that the second website should give an understandable answer, that is an answer that the device would understand correctly:)