Join dotcomUNDERGROUND on Facebook Follow dotcomUNDERGROUND on Twitter Get updates by email dotcomUNDERGROUND RSS Feed
Saturday, January 28th, 2006

Do you need to to edit your Windows XP Host file? Need to add custom entries?

Might be very helpfull when your ISP DNS is down or moving host.

Windows XP HOST file is located in “C:\WINDOWS\system32\drivers\etc\”
(provided C:\WINDOWS\ is your windows installation directory)

Now open the file “hosts” with WordPad.
(Double click on the file… should come up with “open with” dialogue box. … choose “WordPad” from the list)

The file should contain the following:


# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost

Now add entries you want to. The syntax is:
IP[space]HOST
IP: IP Address of the server. Like 207.58.166.239
HOST: Domain Name. Like www.dotcomunderground.com

Example:
207.58.166.239 www.dotcomunderground.com

NOTE:
1. There MUST be a SPACE between the IP and HOST name
2. Each entry should be kept on an individual line. ie. hit ENTER / return key after every entry.

SAVE IT.

It works pretty dynamic. You dont need to restart for the changes to show up. Simply save it and it shouls work instantly



Join dotcomUNDERGROUND on Facebook Follow dotcomUNDERGROUND on Twitter Get updates by email dotcomUNDERGROUND RSS Feed
Get updates delivered to your email:  Enter email address:  

Tags: , , ,
Categories: Tech, Tips and Tricks, Tutorials

Sorry, comments for this entry are closed at this time.

Get Update Notifications

 Subscribe in a reader Or, subscribe via email:
Enter your email address:  
dotcomUNDERGROUND RSS Feed
Find entries :

Browse by Tags »