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?
Where is my hosts file
Started by shadowmac, Mar 10 2010 10:23 AM
1 reply to this topic
#1
Posted 10 March 2010 - 10:23 AM
#2
Posted 10 March 2010 - 10:33 AM
shadowmac, 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
Similar Topics
| Topic | Forum | Started By | Stats | Last Post Info | |
|---|---|---|---|---|---|
Changing your local Hosts fileForce DNS resolution by using a local host file |
Windows | wildweaselmi |
|
|
|
Where did my brakes go? |
Engine Talk | wildweaselmi |
|
|
|
Changing your local Hosts fileUse a local hosts file instead of DNS Server |
Mac OS X | wildweaselmi |
|
|
|
Moving iTunes Folder somewhere else? |
Other Software | wildweaselmi |
|
|
|
httpd.conf Virtual hosts |
CentOS | gjessing |
|
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


















