taoshengyujiu

1、在iis 中添加网站,网站名和主机名设置为test.com

2、在C:\Windows\System32\drivers\etc找到host文件,添加

127.0.0.1 test.com

127.0.0.1特定的IP,代表本机这样在本机浏览器中敲test.com即能转到相应网站

3、也可以设置成其他人的Ip,访问局域网内其他机器的网站

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-11-28
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
  • 2021-04-02
猜你喜欢
  • 2021-11-18
  • 2021-05-22
  • 2022-12-23
  • 2021-10-30
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案