On the basis of the guidelines I set up my device. The device works exactly as it should, but I miss only one thing, domain does not work when devices became hotspot.
When Pi is connected to a hotspot, it can be seen in browser http://raspberrypi .
When Pi is hotspot, it can be seen only by ip http://10.0.0.5
Thanks in advance