简体   繁体   English

我无法使用域名在其他计算机上访问我的网站,但可以使用 IP 地址访问

[英]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.

相关问题 如何通过我的IP地址从远程计算机访问本地托管的IIS网站? - How Can I Access Locally Hosted IIS WebSite from Remote Computer By My IP Address? 我可以使用服务器名称访问网站,但使用IP地址系统提示时,我需要提供用户名和密码。 - I can access website with server name, but with ip address system prompting i need to give username and password. 使用其IP地址访问RDP中的网站 - Access website in and RDP using it's IP address 我无法使用IIS和IISNode从Windows Server 2012外部访问我的网站 - I can't access my website from outside Windows Server 2012 using IIS and IISNode 无法访问IIS域名 - Can't access IIS domain name 我如何使用真实IP地址远程访问asp.net网站 - How can i access an asp.net website remotely with real IP address IIS - 无法通过 IP 地址而不是本地主机访问页面 - IIS - can't access page by ip address instead of localhost 无法从本地IP访问IIS网站 - Can't access IIS website from local IP 无法通过LAN IP访问同一台计算机上的本地网站 - Can't access local website on the same machine through LAN IP 如何使用IIS的IP地址和域限制来拒绝对MVC控制器方法的访问? - How do I use IIS' IP Address and Domain Restrictions to deny access to my MVC controller method?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM