What is the hosts file of the domain name resolution file? How to modify the hosts file?
Published on: popularity: 172947
Hongbo CMS website creation system: function list-Free Download-Green trial version
Sometimes, we need to bind a domain name to test some network systems locally (some systems only support domain name access), but because it is a testing machine, it is not a real server, and there is no need to resolve the real domain name to the
Sometimes, we need to bind a domain name to test some network systems locally (some systems only support domain name access), but because it is a testing machine, it is not a real server, and there is no need to resolve the real domain name to the
Let's take a look at the original hosts file of the C:\WINDOWS\system32\drivers\etc\hosts system (not changed)Open the original Hosts file to view the original contentHost is a system file without extension, can be opened with a tool such as Notepad,
Currently, many websites are deployed separately on the front and back ends, which is relatively secure. Even if hackers get the foreground shell, they cannot find the background management address to increase security.
You should know the
During this time, due to the working relationship, we need to study the working principle of DNS Server Resolution and find this article on CNNIC.Article, Reprinted now
Architecture of CN Domain Name Resolution Service
1, how to correctly modify the Hosts file:Generally open the Hosts file will have an example, according to its format modification canFor example, the following content:# For example:## 102.54.94.97 Rhino. Acme. COM # source Server# 38.25.63.10 X.
Hosts file
Hosts--the static table lookup for host name (host name query for static tables).
The Hosts file is the last file in the Linux system responsible for fast resolution of IP addresses and domain names, saved in ASCII format under
I. Hosts file locationIn Windows 2000/XP/Vista, go to the \ % SystemRoot % \ system32 \ drivers \ etc folder.
Ii. Basic Content and syntax of the hosts fileOpen the hosts file in notepad and you will be able to see Microsoft's instructions on this
A very comprehensive explanation of the Hosts file,
It is strange that many people do not know what Hosts is. Today, with the prevalence of Network viruses, it is actually very useful to know Hosts, because many web Trojans are eyeing this file, and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.