Does not accept hostname other than *

I have same issue, I added Duplicati as iframe of Home assistant (DNS: xxx.duckdns.org).

When I use local IP (192.168.x.x:8123/duplicati) to access, it works.

But when I use xxx.duckdns.org/duplicati It show login failed.

Did you find any clue?