View Single Post
Old 06-06-2004, 03:23 PM  
Overscore
Confirmed User
 
Overscore's Avatar
 
Join Date: Aug 2002
Location: Keystone State
Posts: 316
Don't worry if yours HOSTS file is empty. All that's in there by default is samples and the localhost name. Open a command prompt (cmd.exe) and enter:

echo 127.0.0.1 localhost>%windir%\system32\drivers\etc\hosts

Then, for other entries you'd like to make, enter:

echo xxx.xxx.xxx.xxx hostname.com>>%windir%\system32\drivers\etc\hosts

(where xxx.xxx.xxx.xxx is the IP of the host)

Note the >> vs. > that you'll want to use to APPEND the file as opposed to overwriting it.
__________________
ŻOverscoreŻ
Overscore is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote