Is there a hosts file on Windows for setting IP addresses?
Jan 01, 2020
asked by anonymous
Question / Issue:
On Linux, there is /etc/hosts for setting static relationships between IP addresses and host names. Does this exist on Windows 10?
Responses:
Date: Jan. 1, 2020
Author: Mind Chasers
Comment:
Yes. We use this on Windows 10 to SSH into various Linux boxes using Cygwin and X11.
You can access and modify the hosts file by doing the following:
Run powershell as Administrator and enter the following in the term:
> cd C:\Windows\System32\drivers\etc
> start notepad hosts
Make your changes and save the file.