DNS Host File

DNS Host File is useful for a developer to test their web design when a site is not fully designed from the Internet, you could use this method to assume the web host IP location with the domain name.

Below are the paths for different Operating System.

Windows: %SystemRoot%\system32\drivers\etc\
Mac: /private/etc/hosts
Linux: /etc/hosts

To get it modified, simply open an editor from your PC, open the above file according to your Operating System, 

Enter the format as below,

[IP] [domain name]

Eg, exabytes.com

Add Feedback