简体   繁体   English

我无法访问使用域名通过移动设备通过内部网络在IIS 8中托管的网站

[英]I cannot hit my website, hosted in IIS 8 on internal network via mobile device using domain name

I am able to access my website via the domain name outside of the network. 我可以通过网络外部的域名访问我的网站。

On the internal network I am able to access the site via "localhost/websiteName/", "internalIP/websiteName", and "computerName/websiteName", but I am unable to hit either " http://example.com " or " http://www.example.com ". 在内部网络上,我可以通过“ localhost / websiteName /”,“ internalIP / websiteName”和“ computerName / websiteName”访问该站点,但是无法点击“ http://example.com ”或“ http://www.example.com

I was able to get it to work on a computer by adding the ip and website to the hosts file, but I am still unable to access the website using the domain via mobile devices on the internal WiFi. 通过将ip和网站添加到hosts文件中,我可以使它在计算机上运行,​​但是仍然无法通过内部WiFi上的移动设备使用域来访问网站。

I completely disabled the firewall, so I know that that is not the problem. 我完全禁用了防火墙,所以我知道那不是问题。

I have bindings set up for www and without www with all IP Adresses unassigned. 我为www和没有www设置了绑定,而未分配所有IP地址。

I did try adding a binding for both www and not, using the internal and external IP addresses, both IPv4 and IPv6. 我确实尝试过使用内部和外部IP地址(IPv4和IPv6)为www而不是不添加绑定。

I am running this on http without any certificates. 我在http上运行此证书,没有任何证书。

I have a cname record for www 我有一个www的cname记录

My @ record is pointing to my external, static IP 我的@记录指向我的外部静态IP

The website is set up separately from the default website and it is not a virtual directory. 该网站是与默认网站分开设置的,它不是虚拟目录。

I am using Comcast Business with their Cisco DPC3939B router. 我将Comcast Business与他们的Cisco DPC3939B路由器一起使用。

This is initial setup of the website, and it is not an issue that just started after having worked previously. 这是网站的初始设置,并不是以前工作后才开始出现的问题。

I figured it out. 我想到了。 All I did was add an @ record to the DNS to resolve the website to the internal IP. 我所做的就是在DNS中添加@记录,以将网站解析为内部IP。 Here is a really great reference for accessing websites on a Local Network: devside.net 这是访问本地网络上的网站的绝佳参考: devside.net

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM