Updating hosts file multiple servers

If you have servers that connect to critical systems via hostnames it may be wise to add the IP and hostname into the hosts file.

Before your computer goes out onto the Internet to find the IP address, it will first check its own local hosts file.

While the hosts file is not used to map all hostnames to IP's these days it can still be quite useful if used properly and it can also be a source of trouble if not understood or used properly.

Using the /etc/hosts file to give a human readable name to a local system within a desktop environment is perfectly reasonable.

Following is an example virtual host configuration for Apache, serving .

To serve different content for different domains, you add another virtual host.

Search for updating hosts file multiple servers:

updating hosts file multiple servers-78

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “updating hosts file multiple servers”