hosts文件的小疑点
hosts文件的小问题
我在hosts文件加入了一行:
- PHP code
1 2 3 4 5 6 7 |
|
但是在浏览器中输入a.weibo.com时,它还是跳转到新浪微博了
但是把“a.weibo.com”改成“b.weibo.com”就可以跳转到本地了
这是为什么呢?
谢谢!
------解决方案--------------------
在你另一个帖子中。右上角--我的帖子 中查看。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

To learn more about open source, please visit: 51CTO Hongmeng Developer Community https://ost.51cto.com Running environment DAYU200:4.0.10.16SDK: 4.0.10.15IDE: 4.0.600 1. To create an application, click File- >newFile->CreateProgect. Select template: [OpenHarmony] EmptyAbility: Fill in the project name, shici, application package name com.nut.shici, and application storage location XXX (no Chinese, special characters, or spaces). CompileSDK10, Model: Stage. Device

Solution to changing hosts in Linux does not take effect: 1. Find and open the "/etc/sysconfig/network" file; 2. Modify HOSTNAME to the corresponding alias, such as "NETWORKING=yes HOSTNAME=host1"; 3. Through "service network restart" command to restart the network service.

The difference between comcn and com: 1. There are differences between comcn and com in terms of meaning, but there is no difference in access speed; 2. comcn is an international domain name and is a global top-level domain name for use by commercial institutions, while cn is a Chinese company domain name , domestic commercial institutions, domestic domain names, only enterprises can register; 3. The search priority is that cn will search for .cn first. After finding the .cn server, the .cn server will then search for .com; 4. cn is provided by cnnic China Internet Center Management, com's management organization is abroad.

How to solve the problem that the hosts file in Win10 system is missing? The hosts file is a very important file in a Win10 computer. Recently, some friends found that their hosts file was missing when they wanted to modify the hosts file. So what should they do if they encounter this situation? Let’s take a look at how to recover the missing hosts file in Win10 system with the editor. How to recover the missing hosts file in Win10 system 1. Open C:WindowsSystem32driversetc; 2. Open the view option; 3. Remove the check mark in front of Hide protected operating system files and confirm; 4. Refresh and you will see the Hosts file.

As a user of Windows 10, have you encountered the dilemma of being unable to save changes when trying to modify the hosts file? This file can be regarded as a "database" that closely links the URL domain name and its corresponding IP address. So how to cleverly How to deal with this situation? What should I do if the hosts of Win10 Home Edition cannot be modified? 1. Press the Ctrl+C shortcut key to copy the following path: C:\Windows\System32\drivers\etc. 2. Paste this path into the address bar in the file manager and right-click the upper right corner of the folder where the hosts file is located. 3. Select the "File" menu, select the WindowsPowerShell option, and then a dialog box will pop up. 4

Microsoft has released a preview version of the Unity extension for Visual Studio Code. This new Unity extension will allow you to write and debug Unity games. This new Unity extension brings some popular features already available in Visual Studio and Visual Studio Tools for Unity, making C# in Visual Studio Code better for Unity development. Currently, the Unity extension for VSCode provides the following: A Unity debugger for debugging your Unity editor and Unity player. Unity-specific C# analyzer and refactoring. Uni

Deleting the hosts file has no effect; hosts is a system file without an 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 is in When you enter a URL that requires login into the browser, 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. Perform IP address resolution.

Microsoft has released a new feature update for PowerToys. Version 0.64.0 is available for download now and includes two brand new utilities, settings backup and an extensive list of fixes. PowerToys 0.64.0 introduces a new FileLocksmith utility (shown below). It allows you to see which process or processes use selected files or folders, thereby preventing them from being deleted or modified. The second new tool provides a simple and convenient UI for editing Hosts files—no more digging into your system drive and opening Hosts in Notepad. You can view detailed information about processes and even end them if necessary. 0.64.0
