How to edit the hosts file on Windows Server 2016

Hi there,

The computer file hosts is an operating system file that maps hostnames to IP addresses. You can edit the hosts file in Windows Server 2016 to manually point a host name to an IP address.

Step 1 

Navigate to:

C:\Windows\System32\drivers\etc\

Step 2 

Edit the hosts file in a text editor of your choice. Add the ip address of the machine you want to reach press tab and then enter the name you’d like it to be reachable over.

Save and exit the file.

You will now be able to navigateto that machine via the name you set in the hosts file.

A full video tutorial can be found here:

This entry was posted in windows, windows server, windows server 2016 and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *