Windows Server 2019 / Hyper-V

Perhaps your server machine uses a different dns than your client. Getting that stuff working between all the layers of your router, the server os, the visualized vm and so on is tricky. It’s not likely that you’ll get that level of troubleshooting here.

That’s why it’s easier to spend $5 or $10 /month to digital ocean.