Windows hosts file

Recently I was involved in setting some parameters on server network accessibility. In particular, I had to add an IP of a production server to my local computer so I will be able to access the server’s Web resources, for instance, via a web browser. In actual fact, I had no idea how one is supposed to get this done/(accomplish this). Googling helped (as per usual). As it turned out, one has to edit the system hosts file which is located in the C:\Windows\System32\drivers\etc\ folder.

The concise description of the hosts file can be found on Wikipedia. In here you define which web sites you want to map the IP address to. In my case, I needed to map the IP address of the production server to a development server to test the web site appearance before putting it into production. Just for your information, this file can be used in Windows administration purposes to block malicious software or Web resources as well. For example, here is the file that has been compiled by Using Windows hosts file has some other implications for setting ArcGIS Server for Java and ArcGIS License Manager just to mention a few. Good to know.


One thought on “Windows hosts file

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s