Subscribe to dotcomUNDERGROUND RSS Feed dotcomUNDERGROUND RSS Feed Add to Google Toolbar Add to Google Reader or Homepage Add to netvibes Add to Pageflakes  Windows Live Alerts
Get updates by email:    

How to modify Windows XP Host File


Posted on Saturday, January 28th, 2006 at 9:35 pm
[ Comments RSS Comments RSS ] [ Trackback Link Trackback URL ] [ ] [ PDF Version Download PDF ]

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

Link to this article:



Tags: , , ,
Search with Google:
 
Web dotcomUNDERGROUND
This entry was posted on Saturday, January 28th, 2006 at 9:35 pm and is filed under Tech, Tips and Tricks, Tutorials. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

8 Responses to “How to modify Windows XP Host File”

  1. 1
    How to surf the web when your ISP DNS goes down Says:

    [...] After that we would need to learn how to add IP/Host Name entries in the windows host file. Read my other tutorial How to modify Windows XP Host File for that. [...]

  2. 2
    Marius Says:

    Can i do something so there will be this way?
    http://www.domain.com [space] http://www.domain2.com instead of:
    ip number [space] http://www.domain2.com

    Please let me know!

  3. 3
    dotcomUNDERGROUND Says:

    @Marius
    i tested wht u said… didnt work

    only IN A available i guess.. no CNAME

  4. 4
    Messenger Plus! Live 4 Beta (Leaked) Says:

    [...] (A tutorial on How to modify Windows XP Host File [...]

  5. 5
    Messenger Plus! Live 4.0.0226 Beta Says:

    [...] (A tutorial on How to modify Windows XP Host File ) [...]

  6. 6
    Johnny Says:

    I have a problem when i Click on my download manager. when i click on it said it can’t open the file msn.downloadhost. how do i fix the problem…

  7. 7
    windows xp host file Says:

    [...] [...]

  8. 8
    windows host file Says:

    [...] [...]

Leave a Reply

People come here looking for: hostfile xp (164), msn download host (162), windows host file (151), edit hosts file xp (125), windows xp host file (122), xp hostfile (121), MSN Downloadhost (115), msn.downloadhost (111), downloadhost (102), your hosts file contains Windows Live Messenger (98), xp host file (92), windows xp hosts file (65), your hosts file contains windows live messenger related entries (64), edit host file (54), Host File (53), msn host file (49), host file xp (47), windows hosts file CNAME (46), msn host file error (45), modify host file (44), msn.download host (42), hostfile windows (39), host file windows xp (38), "your hosts file contains windows live messenger" (38), msn host files (37), MSN Download Host error (35), xp HOSTS file (35), your host file contains windows live messenger related entries (33), MSN Hosts File error (33), download host error (33), downloadhost error (33), windows hostfile (32), msn downloadhost error (31), Your host file contains Windows Live Messenger (29), Windows Live messenger hosts file (26), all (26), msn messenger host file (25), modify host file xp (24), windows live messenger host file error (24), xp hostname (23), windows hosts file syntax (23), windows host file cname (23), your hosts file contains windows live messenger related (22), edit host file xp (22), windows xp hosts file syntax (21), your hosts file contains MSN related entries (21), msn messenger host file error (21), live messenger hosts file (20), msn hosts file (20), hostfile in xp (20),