Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Where is the host file in Windows

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail where the host file in Windows is, Xiaobian thinks it is quite practical, so share it for everyone to make a reference, I hope you can gain something after reading this article.

The host file is located under the path "C:\Windows\System32\drivers\etc"; the host file is a plain text file that can be opened with ordinary text editing software, such as Notepad; the host file is used to contain the mapping relationship between IP address and Host name.

Where is the Windows hosts file?

The hosts file is mainly for IP address and machine name mapping!

The hosts file path is here:

C:\Windows\System32\drivers\etc

Then, edit the HOSTS file directly, add the required IP address and machine name at the end, and save it!

10.1.10.1 myhostname110.1.10.2 myhostname2

The role and introduction of host files

The file is actually a plain text file that can be opened with ordinary text editing software such as Notepad.

> Open the hosts file with Notepad and first see Microsoft's description of this file:

> This file works according to TCP/IP for Windows standards,

> Its role is to include IP address and Host name mapping relationship,

> is a mapping IP address and Hostname specification that requires each segment to include only one mapping relationship,

> IP address should be placed at the beginning of each paragraph, followed by a space and then the host name of the mapping.

> The mapping description for this paragraph is divided by "#" and then explained in text.

About "Windows host file where" this article is shared here, I hope the above content can be of some help to everyone, so that you can learn more knowledge, if you think the article is good, please share it to let more people see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report