A Location of the Hosts fileMany users know that there is a Hosts file (no suffix name) in the Windows system, and that the file is in the Windows folder under the Window 98 system.In a Windows 2000/XP system located in the
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
As the question. After Discuz was installed locally, the Discuz was moved to the server. Here the domain name bound to the server was opened, so it was strange that the domain name always specified a local address: localhostopenuploadportal. php?
HOSTS is bound to the domain name and IP address, but the access IP address and domain name are different. the HOSTS file is bound in this way.
119.57.113.31 cloudtest.cnfol.com
The access IP address displays such content.
This is the result
Title.
After installing the Discuz locally, and then moving the discuz to the server, where the server is bound to open the domain name, so strange things appear: This domain name always specify a local address: http://localhost/open/upload/ Portal.
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
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
I am using a sniffer tool called Dnsquerysniffer, which can display real-time DNS query records for local computers, and for each DNS resolution query, display the following information: Host name, port number, query ID, request type, request
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
HOSTS is bound to the domain name and IP address, but the access IP address and domain name are different. The HOSTS & nbsp; file is bound in this way & nbsp; & nbsp; 119.57.113.31 & nbsp; the access IP address of cloudtest.cnfol.com displays such
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.