MyWiseGuys Community: Where is my hosts file - MyWiseGuys Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Where is my hosts file Help finding my local hosts file Rate Topic: -----

#1 User is offline   shadowmac 

  • Member
  • PipPipPip
  • View blog
  • View gallery
  • Group: Members
  • Posts: 70
  • Joined: 04-May 09

Posted 10 March 2010 - 10:23 AM

I want to add an IP address to a DNS name so I don't have to rely on DNS to do the resolution for me but I can not seem to locate the hosts file when I do a search on my machine. Any ideas?
0

#2 User is online   wildweaselmi 

  • Administrator
  • View blog
  • View gallery
  • Group: Administrators
  • Posts: 625
  • Joined: 22-January 10

Posted 10 March 2010 - 10:33 AM

View Postshadowmac, on 10 March 2010 - 10:23 AM, said:

I want to add an IP address to a DNS name so I don't have to rely on DNS to do the resolution for me but I can not seem to locate the hosts file when I do a search on my machine. Any ideas?


Sometimes doing a search will not find the hosts file. Typically the hosts file is located on a windows machine at the following location:
%SystemRoot%\system32\drivers\etc\

So you can click on Start - Run and type:
See if the file is there in explorer run: explorer %SystemRoot%\system32\drivers\etc\
To edit the file run: notepad %SystemRoot%\system32\drivers\etc\hosts to edit the file

If you aren't seeing the file in that location then the administrator may have moved the location of the hosts file. No worries, you can find the new location by looking in the registry at: \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DataBasePath
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users