Announcement

Collapse
No announcement yet.

The use of Local 'Hosts' file

Collapse
X
 
  • 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 test123.com to IP 1.2.3.4. In this case the entry you should add to your hosts file would be:

    1.2.3.4 test123.com

  • #2
    Re: The use of Local 'Hosts' file

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

    Comment

    Working...
    X