C:/Windows/system32/Drivers/etc/hosts file
Host is a system file without an extension and can be opened using notepad and other tools. Its function is to associate some common website domain names with their corresponding IP addresses with a "Database ", when a user enters a URL in the browser to log on to, the system will first automatically find the cor
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, its role is to use some of the common URL domain name and its corresponding IP address to establish an association
One, add the service portIn the file apache\conf\httpd.conf, remove the previous # number and restart#LoadModule rewrite_module modules/mod_rewrite.so #Include conf/extra/httpd-vhosts.confSecond, in the file apache\conf\extra\httpd-vhosts.conf file, modify the corresponding configuration inside:Namevirtualhost *: the the>ServerAdmin [email protected] documentroot"D:/wamp/www/lee"ServerName www.lee.com Serveralias www.dummy-host.localhost errorlog"Logs/dummy-host.localhost-error.log"Customlog"Log
Parse the hosts fileMany users know that there is a hosts file in the window system (without a suffix). in Windows 98, this file is located in the Windows directory, and in Windows/XP, it is located in C: /winnt/system32/Drivers/etc directory. This file is actually a plain t
access. We wrote the following in the hosts:127.0.0.1 #屏蔽的网站0.0.0.0 #屏蔽的网站In this way, the computer resolves the domain name to native or wrong IP, and achieves the purpose of shielding.4. Smooth Connection SystemFor Lotus servers and some database servers, if you enter the IP address directly when you access that is inaccessible, you can only enter the server name to access. Then we configure the hosts file so that the input server name can be successfully connected.Finally, the mapping of the
\ repairs \ ystem c: \ windows \ system32 \ config \ System
But in this way, all your previous settings will be lost. This is the configuration you configured when you started the desktop for the first time. You have to reinstall your driver and settings.
If Windows 2000 is used, the following error occurs: C: \ winnt \ syst
the first time you boot to the desktop configuration, you also have to install your drivers and settings?How to use Windows 2000 system also appears this hint: C:/winnt/system32/config/system or C:/winnt/system32/drivers/ntfs.sys file is missing, Method is also able to use
1, press "Win+r" and then in the pop-up box we enter C:\WINDOWS\system32\drivers\, click OK or open our computer copy this string in the Address bar enter also can enter;
2, then we find the ETC folder right click and then click the "Properties" option, as shown below;
3, enter the ETC Property window, we click on the "Security"-"edit" and then find
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.