路径: C:\Windows\System32\drivers\etc
打开hosts文件如下:

# Copyright (c) - Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host # localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# :: localhost #Add IIS (配置主机域名!!!!!!)
127.0.0.1 v1.lingqu.com
127.0.0.1 v2.lingqu.com
#end IIS

最新文章

  1. 每天一个linux命令(53):route命令
  2. FCKeditor漏洞利用
  3. linux下时间的修改
  4. Qt中单例模式的实现(4种方法)
  5. 基于samba实现win7与linux之间共享文件_阳仔_新浪博客
  6. 怎样安装WIN7系统
  7. Eclipse Maven构建Spring MVC项目
  8. 关于一点jeesite
  9. Graph图总结
  10. Creating Excel files with Python and XlsxWriter——Introduction
  11. ES5和ES6中关于import & export的书写方式的区别
  12. Git Bash使用详细教程
  13. Golang匿名函数
  14. Spring Boot常用注解
  15. 【struts2】<package>的配置
  16. ros 使用python代码启动launch文件
  17. SED 学习笔记
  18. FreePascal - 如何在各个平台中安装CodeTyphon!
  19. MySQL单机单实例安装脚本
  20. xss自动化攻击

热门文章

  1. C#操作高低位
  2. Codeforces Round #302 (Div. 1) 训练
  3. Codeforces Round #321 (Div. 2)
  4. eclipse 当安装jad仍然不能反编译,提示attach source的时候
  5. hdu 2604 Queuing dp找规律 然后矩阵快速幂。坑!!
  6. 第一章、 CLR的执行模型
  7. gp服务输出的结果文件输出到绝对路径
  8. JSP 错误处理方法
  9. webapi参数处理get过个参数
  10. COGS 942. [東方S3] 比那名居天子