Hello,
Thanks for reaching out! I'm Microsoft user like you.
You can Edit host file , make sure you have Write permission to edit this file.
You can put ip address and hostname of the device or computer in Host file For Example :
192.168.1.3 mydomain.com
192.168.1.6 www.yourdomain.com
In case of additional questions, reach out back to me, and I will be happy to help and try our best to resolve your issue.
Best Regards,
Prakash