Windows has a similar file like the Linux /etc/hosts file. It is located in
You’ll need to have administrator privileges to modify the file. So you can launch notepad as Administrator then open the file. If you don’t see the file make sure the drop down across from “File name:” is set to “All Files”.