I just see that in this file I have:
'trusted_domains' =>
array (
0 => 'dietpi IP',
1 => 'my router public IP',
2 => 'my DDNS domain',
),
the router public IP, I think, changes every time the router goes off. Isn’t it?
Could it be the reason why I can’t reach the server using my DDNS domain when I’m in my network?
(see the topic https://dietpi.com/forum/t/solved-how-to-connect-outside-of-dietpi-network/6041/1)