The host file is a system file that can override DNS lookups. Its location varies depending on the operating system:
For Windows: C:/Windows/System32/drivers/etc/hosts
For Mac: /private/etc/hosts