I have a local http server on which i am hosting some webpages on a
private network.
My application tries to access a website on the internet, for example:
"http://groups.google.com/group/alt.privacy.spyware/post?hl=en"

Now i want my host file to map this URL (http://groups.google.com/
group/alt.privacy.spyware/post?hl=en) to my local webpage.

Is this possible using the hosts file.

I have tried to give something like,

10.0.1.100 http://groups.google.com

when i type groups.google.com in my web browser it tries to connect to
10.0.1.100

Similarly when i give

10.0.1.100 http://groups.google.com/group/alt.p...are/post?hl=en

it tries to connect to some other ip for example: 64.233.179.99

Kindly help me resolve this.

Regards
Anilkumar