redirect host to IP in hosts file

Facebookgoogle_plus

Hosts file located under C:\Windows\System32\Drivers\Etc\hosts.
Host to name redirection meant to order the application that uses it to which IP address to regard.


Example: you have an Exchange server on your organization that located in DMZ at 10.2.3.63 (Not published to Internet).

If the DMZ link is down for some reason and you want to route request to different IP as

10.6.65.99 you put in HOSTS file (for all users use the exchange):

Mail_server_DNS_Name to 10.6.65.99

So syntax is:

Machine_DNS_NAME to SERVER_IP