简体   繁体   English

无法通过Intranet访问IIS的ASP.net Web托管

[英]ASP.net web hosting to IIS not accessible over intranet

I am hosting a ASP.NET application with in intranet with URL. 我在带有URL的Intranet中托管ASP.NET应用程序。 When i host it without a specific URL it works and accessible over the intranet with my IP/computer name. 当我托管它而没有特定的URL时,它可以工作,并且可以使用我的IP /计算机名称通过Intranet访问。

托管到IIS

在此处输入图片说明

在此处输入图片说明

But When i try to give it some specific URL it's not accessible. 但是,当我尝试给它一些特定的URL时,它是不可访问的。 Following are the images for my IIS settings 以下是我的IIS设置的图像 在此处输入图片说明

在此处输入图片说明

Your IIS only accepts incoming site requests for this specific URL. 您的IIS仅接受对此特定URL的传入站点请求。 So what you need to do is to establish a DNS server within your intranet which tells the client to which IP to connect. 因此,您需要做的是在Intranet内建立一个DNS服务器,该服务器告诉客户端要连接到哪个IP。 The request of the client now contains the URL name and the IIS will accept the connection. 客户端的请求现在包含URL名称,并且IIS将接受连接。

So your task will be: 因此,您的任务将是:

  • Install DNS server which maps your domain name to the server's ip 安装DNS服务器,该服务器将您的域名映射到服务器的IP

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

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