将域分配给本地网络 IIS 上的站点,
我为一些拥有自己的本地网络的公司开发了一个网站,它运行在他们的服务器上,该服务器没有连接到互联网(仅他们的网络),该服务器有自己的本地网络的静态IP和DNS服务器。当用户想要连接到该网站时,他们输入 http://123.4.3.10:8088 或类似的内容,但我想让他们仅通过输入 http://MySite 或仅输入 Mysite 进行连接(用户计算机除了本地计算机之外还连接到互联网) 网络)。是否可以?我怎样才能这样做呢?谢谢
I developed a site for some company which have their own local network, and it's running on their server which is not connected to internet (only their network), the server has its own static IP and DNS server of the local network. when users want to connect to the site they type http://123.4.3.10:8088 or something like that but I want to let them connect with only typing http://MySite or maybe only Mysite (users computers is connected to internet beside the local network). is it possible? how can I do so? thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这可以通过本地网络的 DNS 服务器来完成。您可以看到客户端的网络接口配置/状态中使用了哪些(dns 服务器)。
如果您不知道,请要求其 DNS 服务器管理员设置名为
mysite
的A
dns 记录,以指向123.4.3.10
.你不能用dns更改端口!默认 HTTP 端口为 80。如果您使用端口 8088,则新 URL 将为
http://MySite:8088
。This can be done through the DNS server of their local network. You can see which ones (dns server) are used in the client's network interface configuration/status.
If you don't know about it ask their DNS server administrator to set up an
A
dns record with the namemysite
to point to123.4.3.10
.You can not change the port with dns!!! Default HTTP port is 80. If you're using port 8088 the new URL will be
http://MySite:8088
.