Top "Hosts" questions

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

How to configure user specific hosts file on Windows

There is Windows Server 2003 machine which has many users to access. Each of them want to configure their own hosts …

windows networking dns hosts
wildcard in hosts file

It's not possible to use a wildcard in the hosts file on windows or linux. Is there a way to …

dns hosts
How to replace a string in the host file using batch?

I'm trying to write a batch file to find and replace an IP address in the hosts file. I did …

batch-file edit hosts hosts-file
/etc/hosts ignored in mac El Capitan (10.11.5)

I'm attempting to redirect an existing web address to a remote machine on my subnet. To do that, I put …

dns osx-elcapitan hosts hosts-file
How do I hit a modified /etc/hosts from VirtualBox

I have an app that I have to change the /etc/hosts file to be able to hit. Here is …

virtualbox hosts
How to force Apache Bench to use IP addresses specified in /etc/hosts?

I'm using ApacheBench to do some load testing. I'd like ab to resolve the hostname using the IP address specified …

hosts apachebench hosts-file
Failed to mount folders in Linux guest - mesg: ttyname failed: Inappropriate ioctl for device

Vagrant won't mount folders. Tried so many solutions, nothing worked. Versions: Vagrant 1.8.1 / Ubuntu 15.10 / Virtualbox 5.0.16 vagrant up Bringing machine 'default' up …

vagrant virtualbox vagrantfile hosts ubuntu-15.10
localhost doesn't point to 127.0.0.1

when I ping localhost, the answer is: alsotang@alsotang-laptop:~$ ping localhost PING localhost (61.139.8.100) 56(84) bytes of data. but the hosts file …

localhost hosts
How to add my container's hostname to /etc/hosts?

In order to support some old software solutions, I need to bind my container's hostname to 127.0.0.1, leaving me with something …

docker hosts