Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: problem hosts file


17 Mar 2012   #1

windows 7 Ultimate EN 64 bit
 
 
problem hosts file

Hello,

I am hosting a weberver on a windows 7 pc.
It's ip address: 192.168.0.100
Mijn domainname is: (example) www.mysite.nl
If i type from another pc on my local network in the url of the browser: www.mysite.nl, he can not find the indexpage of the webserver
I have to type my local ip address from the pc where the server is running from to view my index page: 192.168.0.100 (http://192.168.0.100)
Only then he shows me the indexpage

I was looking to the hosts file in system32/drivers/etc/hosts, and i added the last rule : 192.168.0.100 www.mysite.nl

My host file looks like this:
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
192.168.0.100 www.mysite.nl

Computer reboot, but still when i type the address: www.mysite.nl ; he says: unable to connect
What have i done wrong?
Why is this still not working?
He knows when i visit www.mysite.nl, he has to connect to 192.168.0.100
But it doesn't work

Can someone help me with that problem?



Thanks

Nuet


My System SpecsSystem Spec
.

17 Mar 2012   #2

Win 8 Release candidate 8400
 
 

192.168.0.100 is your routers internal IP. www.mysite.nl is outside your router so it cant be found.

mysite.nl is at this ip 213.247.45.137]

Go to whatismyip.com to find your outside ip
My System SpecsSystem Spec
17 Mar 2012   #3

Windows 7 32 bit
 
 

Also you may find these easy to use free utilities valuable:

Network Downloads /// AnalogX
My System SpecsSystem Spec
.


Reply

 problem hosts file




Thread Tools



Similar help and support threads for2: problem hosts file
Thread Forum
Hosts File General Discussion
Solved Hosts file editing: save problem General Discussion
Solved Hosts file-S?? System Security
HOSTS File - Create a "Edit HOSTS file" Shortcut Tutorials

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:47 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33