如何通过名称访问网络上的网站。 [英] How to access a website on the network through a name.

查看:92
本文介绍了如何通过名称访问网络上的网站。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过名称而不是IP地址和端口名称访问网络上的网站,

,当它在IIS7中本地配置时。

名称如: dev.test.com

How to access a website on the network through a name instead of IP address & Port Name,
when it''s configured locally in IIS7.
Name like "dev.test.com"

推荐答案

您可以编辑主机文件以便能够执行此操作。您需要在客户端计算机上对其进行编辑,并且需要为每个客户端执行此操作。



主机(文件) [< a href =https://en.wikipedia.org/wiki/Hosts_%28file%29target =_ blanktitle =New Window> ^ ]



祝你好运!
You could edit your hosts file to be able to do that. You will need to edit it on the client machine and you need to do it for every client.

hosts (file)[^]

Good luck!


这篇关于如何通过名称访问网络上的网站。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆