The use of Local 'Hosts' file

  • Filter
  • Time
  • Show
Clear All
new posts

    The use of Local 'Hosts' file

    The hosts file is used to resolve hostnames to IP addresses. With the hosts file you can change the IP to which you resolve a certain domain name.

    This file is useful when you migrate your websites from one server to another server and wish to see how a website will look on another server before making the DNS changes.

    The path to the hosts file is:

    Path Ė %SystemRoot%\system32\drivers\etc\hosts

    Letís say that you wish to resolve your domain to IP In this case the entry you should add to your hosts file would be:

    Re: The use of Local 'Hosts' file

    Thanks Antonie for this information....Good one...Keep it up ..!!!!!