Top "Hosts" questions

A `hosts` file is used to map hostnames to IP addresses on a TCP/IP-enabled computer.

How to edit hosts file via CMD?

Hello I'd like to block some websites directly from the command prompt. echo like this: 0.0.0.0 websitename.com How can I …

windows-7 cmd hosts
Windows Batch: How to add Host-Entries?

I want to use this batch script to add new entries into my host file automatically by using windows batch. …

windows-7 batch-file hosts
How can I redirect HTTP requests made from an iPad?

Since on an iPad we cannot edit the hosts file (without jailbreaking), how can we arbitrarily redirect web traffic to …

ipad http redirect hosts
How do I set up the hosts file for multiple domains/hosts with the same IP?

As you surely know you can map host names to IP addresses with the "hosts" file. This is very useful …

hosts web-development-server
IP Address to Hostname in Java?

My hosts file (C:\WINDOWS\system32\drivers\etc\hosts) has a bunch of IP Address to host name mappings: # Switches 192.168.200.254 …

java ip-address hostname hosts
Google Chrome Ignoring Hosts File

Google Chrome is ignoring the settings in C:/Windows/System32/drivers/etc/hosts file. Both IE11 and Firefox are installed …

google-chrome hosts
Unable to create virtual directory

I am working on a website which authenticates with Facebook, so that the user can sign in through his/her …

visual-studio iis iis-express hosts
Can /etc/hosts config reverse resolution?

As we all known, we can add 'ip host' item in /etc/hosts to mock a DNS's name resolution, now …

dns hosts
blocking website via hosts file not working?

I'm trying to block a website using the hosts file using this tutorial : http://hackspc.com/how-to-block-a-website/ but It doesn't …

windows windows-xp hosts hosts-file