• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

HOSTS hacking in ME.... how?

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

Cjwinnit

B&
Joined
Feb 1, 2003
Location
UK
I'm starting up a website so I'm hacking the HOSTS files so that my computer will be able to see the websites internally.

(i.e. instead of http://(my addy) going to my external IP i want my computers to go to the internal IP, this requres me to change my HOSTS file.

I did this fine in XP (c:\windows\system32\drivers\etc\) but I need to change my laptop which is running ME, but It didn't seem to work.

Anyone know how to do this?

(make http://(my addy) go to 192.168.7.203)
 

Seal

Member
Joined
Aug 14, 2002
Location
London
Cjwinnit said:


:tfti:

You got any ideas seal? I need this one so I can check my website :(

i find format c: solves most microsoft related problems.
 

Wedo

Senior Kitty Power!
Joined
Oct 31, 2001
Location
Lost Angeles
Hey CJ,

According to this website the host file is in a different location in ME than XP/2K. Check it out and see if that helps. You might need a quick logoff/logon or a restart to load the new hosts file as well.

Wedo
 
OP
Cjwinnit

Cjwinnit

B&
Joined
Feb 1, 2003
Location
UK
jajmon said:
Have you tried http://192.168.7.203 on your ME box?

Yep, works fine.

Why bother with a host file?

All the links within my website will work.

Wedo said:
Hey CJ,

According to this website the host file is in a different location in ME than XP/2K. Check it out and see if that helps. You might need a quick logoff/logon or a restart to load the new hosts file as well.

Wedo

Awesome thanks. Cleared my cache and it works now :)

There is a file in the WinME directory called HOSTS.SAM. I edited it and it didn't work, even with no cache. So i went into the command prompt and got rid of the extension:

rename HOSTS.SAM HOSTS

That seemed to do the trick.
 
Last edited:

su root

Senior Member, --, I teach people how to read your
Joined
Aug 25, 2001
Location
Ontario, Canada
.SAM files are regularly "sample" files. Not seen much in the windows world though.
 

Seal

Member
Joined
Aug 14, 2002
Location
London
Cjwinnit said:


Not to sound like a lame-o, but I don't know how :(


... lol

just use stuff liek ../pictures/me.jpg

or like <a href=linkyinsamedir.html>
or <a href=dirctory/pageinhere.html>

havfe a mess around