|17 Mar 2012||#1|
problem hosts file
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
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?
|My System Specs|
|Thread Tools||Search this Thread|
|Similar help and support threads|
Hosts file ignored and replaced with hosts.original
Hello. I am trying to use the hosts file. However both pings and web addresses still bypass the hosts file. I noticed that there is another file in the C:\Windows\System32\drivers\etc directory called 'hosts.original'. When ever I delete this file, it reappears seconds later. I have made sure that...
Hosts file editing: save problem
My Hosts file was lost so I downloaded a new one. This I edited to block two sites that had intruded and given trouble. I saved initially to desktop and then tried to paste and save it in to C:\windows\.......\etc , but failed to do so as error as per att, appeared, I am a sole user/...
can the hosts file be changed to, or amended by, another file? IOW can there be a file named xyz that essentially replaces the hosts file, or adds entries to it? Possibly by a registry key or configuration setting? Of course it could by altering library fxns, but by other "simpler" means? ...
HOSTS File - Create a "Edit HOSTS file" Shortcut
How to Create a "Edit HOSTS file" Shortcut in Windows 7 and Vista The HOSTS file is a .txt file used in Vista and Windows 7 to map hostnames to IP addresses. Your computer checks this file first to resolve any network names to its corresponding IP address before it tries to check the Internet....
I setup a hosts file in windows xp in order to use my website locally using the exact domain name by editing the hosts file by adding the line: 127.0.0.1 www.test.com This should resolve my local ip address for the test.com site and if apache is running, then it should load the website...
|Network & Sharing|
© Designer Media Ltd
All times are GMT -5. The time now is 12:22.