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