YunoHost in WSL (Windows Subsystem for Linux)

Oh yes, sorry. I meant to include that in the preamble of the tutorial.
WSL is indeed very confusing regarding the IP address assignment, as it changes at every reboot. It makes selfhosting not straightforward, and I meant this setup as a testing platform (hence the fake domain suggestion).

However…

You can install a VPN on your YunoHost for WSL. Currently I use ZeroTier (free for personal usage, non-free license though, hence why it is not listed in the catalog). I am investigating WireGuard but it seems it would require changing WSL’s kernel.

It is not as straightforward as having a real server, but it would allow you to circumvent the issue with changing IPs.

Yes. Execute shell:startup (in the Win+R dialog) to reach the startup folder. Then create a shortcut to wsl with the right arguments. wsl.exe -d YunoHost -e genie -s (something like that, I cannot make it work right now)