[英]i can't access my website in other computer using domain name but can access using IP address
enter image description here I can access my website in my computer using my ip address 192.168.XX在此处输入图像描述我可以使用我的 ip 地址 192.168.XX 在我的计算机中访问我的网站
I can access my website in my computer using domain name local.firstsite.com我可以使用域名 local.firstsite.com 在我的计算机上访问我的网站
======================================================================= ==================================================== ======================
I can access my website in other computer using my ip address 192.168.XX我可以使用我的 ip 地址 192.168.XX 在其他计算机上访问我的网站
i can't access my website in other computer using domain name我无法使用域名在其他计算机上访问我的网站
My question is how to access my website in other computer in the same network using domain name.我的问题是如何使用域名在同一网络中的其他计算机上访问我的网站。
i configure my web page using iis in windows server and the two machine in same domain我使用 windows 服务器和同一域中的两台机器中的 iis 配置我的 web 页面
The easist way to achieve this is register local.firstsite.com in other computer's hosts file.实现此目的的简单方法是在其他计算机的主机文件中注册 local.firstsite.com。
If you have an active domain, then you need to create a DNS forward lookup zone for firstsite.com and create cname local for firstsite.com.如果您有活动域,则需要为 firstsite.com 创建 DNS 正向查找区域,并为 firstsite.com 创建 cname local 。 As long as your internal network share the same DNS Server and create IIS binding for the domain.
只要您的内部网络共享相同的 DNS 服务器并为域创建 IIS 绑定。 The website should be accessed from domain name.
该网站应从域名访问。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.