Home >Topic List >host file
Hosts is a system file without extension, which can be opened with tools such as Notepad. Its function is to establish an associated "database" between some commonly used website domain names and their corresponding IP addresses. When the user enters a username that needs to be logged in in the browser, When entering a URL, the system will first automatically search for the corresponding IP address in the Hosts file. Once found, the system will immediately open the corresponding web page. If not found, the system will submit the URL to the DNS domain name resolution server for IP address resolution. PHP Chinese website has brought you relevant tutorials and articles. You are welcome to read and learn.