Top "Hosts-file" questions

The hosts file is a computer file used in an operating system to map hostnames to IP addresses.

Android hosts file usage

I have the following problem: I make a custom hosts file to test some features of my application and then …

android hosts-file
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
Windows hosts file and IIS binding question

I'm building a few SharePoint sites, and I want to make use of zones so I may set security different …

iis iis-7 hosts-file
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
Wordpress url shows page not found on localhost, but online its fine

I have installed wordpress, now the http://localhost/wp-login.php and the likes are okay. Assuming that I want to …

wordpress httpd.conf hosts-file