0
votes
0answers
15 views

Check local hosts file (Win7) and proxy.pac

I have two groups of computers at the school: 1) computer lab, and 2) anywhere else. These are all Windows 7 machines. Up to now, I've had two versions of the Window's hosts file depending on which ...
0
votes
1answer
77 views

How to make local DNS for pointing domain *.local to localhost?

I'm developing websites and I use xampp which is configured to automaticly point some type of domains to xampp main directory. For example: When I go to site1.local xampp is displaying page located at ...
0
votes
0answers
75 views

Hosts file keeps being ignored in Windows 7

Something keeps happening to my hosts file (%SystemRoot%\System32\drivers\etc) which means that Windows 7 ignores it. I use it as part of the process of creating Virtual Hosts for WAMP e.g. ...
1
vote
1answer
298 views

Windows 7 hosts file per application

Is it possible to use the hosts file (C:\Windows\System32\drivers\etc\hosts) on a "per-application" level? For example, I added this entry to the hosts file: #Override NAS 192.168.1.3 NAS Now NAS ...
0
votes
2answers
65 views

Slow saving changes to host file?

All of a sudden it takes a while (a second or two) to save changes to my Win7 box's host file. It used to be instantaneous. I've tried editing it with gVim and Notepad++. Saving a file with ...
0
votes
0answers
367 views

Prevent McAfee Security Scan Plus from installing - ever

Whenever Flash updates, some colleague or friend keeps pressing OK, and without noticing, McAfee Security Scan Plus is installed (and it happened to me several times as well). Then, after a while, a ...
1
vote
4answers
1k views

Can updating the hosts file in Windows via batch file cause harm?

I have this script that I have saved as a .bat file. Can it hurt a computer? echo # >> %Windir%\System32\drivers\etc\hosts echo 0.0.0.0 www.facebook.com >> ...
0
votes
1answer
59 views

Redirect remote file to another

I'm using Windows 7, and I wanted to know how could I make it so that when my PC try's to connect to a defined remote file it will redirect it to another. Example: http://www.a.com/image.png to ...
1
vote
1answer
1k views

treating a subdirectory like a web root directory in xampp

I am running Xampp on a Windows 7 machine. I have a website that is running off a directory in my web root. I access the website by going to http://localhost/foobar. I would like to set it up so that ...
0
votes
2answers
340 views

Hosts file modification to resolve domain names to specific IP addresses not working

I have recently learned how to use transfer wp sites to a new host, and also learned how to modify the hosts file so that I can look at any site transfers to the new host in my browser to check ...
2
votes
3answers
2k views

How do you edit the 'hosts' file in windows 7? [duplicate]

Possible Duplicate: How do you edit hosts file on Windows 7 I need to edit the hosts file so that I could restrict some sites from opening. I have tried to open it and edit it but when I ...
0
votes
0answers
86 views

switch hosts-file during win7 boot process

I have 2 hosts files on my win7 machine that i switch manually (.bat file run as administrator) when i'm either in the company vpn or connected to the comany network directly. What i would want is an ...
0
votes
2answers
1k views

Edit hosts - run as administrator does not work

I am trying to edit hosts file on my computer. I click start -> find notepad shortcut -> run it as administrator (window on dimmed background appears) -> i press yes -> find hosts file -> edit it -> ...
1
vote
0answers
549 views

Can I force Tor/Polipo to use locally defined hosts?

I would like to use addresses defined in my hosts file while using Tor. I have the Tor (non-browser) bundle installed: Tor, Polipo and Vidalia. I do not use Torbutton. My browsing is normally done ...
0
votes
2answers
2k views

Create a shortcut with administrator rights for hosts file in Win 7

I'm trying to create a shortcut link on my desktop that is a link to the hosts file in Windows 7. The problem is that this shortcut will not open in administrator mode as the option will be greyed out ...
3
votes
1answer
11k views

Why does my “hosts” file entry have no effect when accessing network shares?

I added the following line to a Windows7 hosts file: 127.0.0.1 mecserver Using ping mecserver works fine, but if I use this name to connect to the notebook (like localhost) to see the Windows ...
3
votes
1answer
2k views

Chrome, Safari, IE not recognizing hosts file in Windows 7

I have a new clean install of Windows 7. I've edited the hosts file and when I ping from the command line the correct settings are used — the ping goes to a local network server instead of out ...
3
votes
4answers
14k views

Permissions for editing hosts file on Windows 7 Home Edition

I am running Windows 7 Home Edition on my laptop. I also have an instance of Apache Server running and am trying to create a virtual directory. I have updated apache's vhost-httpd file and now need ...
4
votes
2answers
2k views

Is there a way to cause chrome/ie/firefox to reload the local “hosts” file without restarting the app?

In my occupation as a sysadmin, I often find times where I need to "game the system" by editing the host file. Doing so preempts any dns records for a domain name and allows me to make the ip ...
2
votes
2answers
11k views

How to reset hosts file back to default?

How do I reset my hosts file back to default? Windows 7 Ultimate 32bit C:\WINDOWS\system32\drivers\etc
2
votes
1answer
306 views

Blocking sites with Windows HOSTS file

The article http://lifehacker.com/146448/geek-to-live--ban-time+wasting-web-sites recommends editing the Windows HOSTS file in c:\windows\system32\drivers\etc as a way to block certain websites. I ...
10
votes
5answers
10k views

How does localhost 127.0.0.1 work?

I found some articles related to this, but they were not sufficient for me. I want to know how the localhost works and why is it the same on many different machines? How does the localhost block the ...
1
vote
5answers
1k views

Why does this line in the hosts file not work to block access to this site?

I've tried adding the following line to my hosts file in Windows 7: 127.0.0.1 nytimes.com The hosts file is located in: C:\Windows\System32\drivers\etc\ The idea is to block access to the New ...
0
votes
1answer
628 views

DatabasePath Registry Entry Not Working in Windows 7

I’ve set the HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DatabasePath registry entry in Windows XP and it works as expected; the system loads and uses the HOSTS file in the directory I’ve ...
1
vote
1answer
408 views

Automatically update ip-address in hosts file?

My development environment is Ubuntu guest OS inside VMWare Player with Windows 7 as the host OS. I edit the hosts file in windows to point http://dev.mydomain.com to the ip-address of my VM so that ...
2
votes
2answers
1k views

My hosts file is broken (windows won't read it)

I have Windows 7 Pro 64 bit and it won't read the hosts file ! I've googled around for quite a long time but I can't fix it, maybe someone here can help me. I can't see the .txt extension on the ...
2
votes
1answer
1k views

IE ignores hosts file; works in Firefox

I've edited my hosts file in a Windows 7 VM, but it doesn't work in IE. It works with Firefox, though. I hope this itemized list will help more than a verbose description. Environment Windows 7 in ...
1
vote
0answers
145 views

Hosts file in windows 7 [duplicate]

Possible Duplicate: Problem with the hosts file under windows 7 I'm using Windows 7 Pro. I'm trying to add a new entry to Hosts file. But that entry doesn't seem to work. Browse to ...
1
vote
4answers
4k views

Browsers ignoring hosts file

Until recently my browsers started to ignore my hosts file. I have Windows 7 operating system installed. 192.168.0.5 livesite.com I have tried: Clearing browser cache Issued "ipconfig ...
0
votes
2answers
5k views

Host file not working on Windows 7

Our ISP accidentally switched us from a static IP to DHCP (long story) and it might be another day or two before we get our static IP back. In the meantime I'm trying to just use a host file on my ...
3
votes
1answer
366 views

Hosts file - Many entries

I noticed Spybot - Search & Destroy adds almost 15k entries on the hosts file (C:\Windows\System32\drivers\etc\hosts) if you decide to immunize. Does this decrease the computer performance, ...
1
vote
1answer
12k views

Adding localhost entry to Windows\System32\drivers\etc\hosts file with port number

I have set up a local site under IIS 7.5 under port 900. to access it I should type localhost:900 in the address bar. I'm a little bit familiar with the System32\Drivers\etc\hosts file and I know I ...
2
votes
1answer
1k views

Hosts file in Windows 7 screwed up!

I recently changed my Hosts file to block some websites in Windows 7. Now I think it is blocking lot of other sites that were not added to Hosts file. Is there any way to escape this? I tried to ...
6
votes
2answers
2k views

Hosts file location in Windows 7

I know the hosts file should be under C:\Windows\System32\drivers\etc\ But for some reason, I don't have the etc directory there at all. In fact, I searched for "hosts" under C:\Windows and found ...
1
vote
4answers
8k views

Why doesn't my HOSTS file redirect DNS in Windows 7?

I've modified the HOSTS file on my Windows 7 machine in exactly the same manner as I have in the past on my Vista and XP machines; however it has had no effect. How do you redirect URLs in Windows 7 ...
0
votes
5answers
2k views

Windows 7 etc/hosts file broken?

I have a local webserver running that I would like access as myserver.localhost, so I added an entry 127.0.0.1 myserver.localhost to C:\Windows\System32\drivers\etc\hosts. This worked fine. ...
2
votes
5answers
13k views

With Windows 7, why is an entry in the hosts file not working?

I updated some entries in the hosts file at C:\WINDOWS\System32\drivers\etc. As a test, I decided to make Google point to 127.0.0.1. # Additionally, comments (such as these) may be inserted on ...