简体   繁体   English

DNS服务器在IIS上运行ASP.NET Web应用程序的必要性是什么?

[英]How necessary is DNS Server to run an ASP.NET web app on IIS?

Assuming a Windows Server 2012 VPS: 假设Windows Server 2012 VPS:

It seems that many tutorials include the setting up of DNS Server (setup of forward lookup zones, and A record) as part of the basic steps to deploy and run an ASP.NET web application on IIS. 看来,许多教程都包括DNS服务器的设置(正向查找区域和A记录的设置),作为在IIS上部署和运行ASP.NET Web应用程序的基本步骤的一部分。

I'm slightly confused, because within IIS manager you can set the bindings ( IP address, URL, SSL, port) of a web application. 我有些困惑,因为您可以在IIS管理器中设置Web应用程序的绑定(IP地址,URL,SSL,端口)。 Wouldn't this alone not suffice to correctly route incoming requests to the correct web application? 仅此一项就不足以将传入的请求正确地路由到正确的Web应用程序吗?

What would be the advantage to running DNS Server? 运行DNS服务器有什么好处?

IIS Manager can only manage IIS related Windows settings, but to make a site work you need much more settings than that. IIS管理器只能管理与IIS相关的Windows设置,但是要使站点正常工作,您需要的设置要多得多。

DNS settings are critical to direct web browsers to your side. DNS设置对于将Web浏览器定向到您的身边至关重要。 Nobody uses IP addresses to access a site, so a typical URL uses domain name. 没有人使用IP地址访问站点,因此典型的URL使用域名。 That requires DNS to translate the domain name to an IP address so that browsers can send HTTP packets to the proper location. 这就要求DNS将域名转换为IP地址,以便浏览器可以将HTTP数据包发送到正确的位置。

IIS Manager could not manage that for you, as which DNS product to use or how to configure it is usually vendor specific and out of IIS's scope. IIS管理器无法为您进行管理,因为要使用哪个DNS产品或如何配置它通常是特定于供应商的,并且超出了IIS的范围。

暂无
暂无

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

相关问题 是否可以在 IIS 服务器中运行 asp.net 和 java web 应用程序? - Is it possible to run asp.net and java web applications in the IIS server? 是否可以从上次成功构建IIS服务器应用程序池(生产)中运行Asp.net Web应用程序(Web窗体应用程序) - Is it possible to run an Asp.net web application (web forms app) from last successful build in IIS server app pool (production) 为什么asp.net需要IIS(Internet信息服务)来运行Web服务器? 这在nodejs中如何工作? - Why asp.net needs IIS(Internet Information Services) to run web server? How this works in nodejs? 如何使ASP.NET应用程序运行在Visual Studio服务器而不是IIS上? - How to make asp.net app run with visual studio server instead of IIS? 如何使服务器端控制台应用程序在ASP.net网站(IIS7)上运行? - How to get server-side console app to run on ASP.net website(IIS7)? 如何在本地IIS而不是Express中调试ASP.NET 5 Web应用程序 - How to debug an ASP.NET 5 web app in local IIS not Express 如何将ASP.NET MVC 5 Angular 4应用程序部署到IIS服务器中? - How to deploy ASP.NET MVC 5 Angular 4 app into IIS server? 无法使用开发服务器运行 ASP.NET web 应用程序 - Not able to run ASP.NET web app using Development Server 在承载ASP.Net Web应用程序时必须在IIS中包含web.config文件 - Is necessary to include web.config file in IIS while hosting the ASP.Net Web application 如何在Ubuntu Server上运行ASP.NET网页? - How to run an ASP.NET web page on Ubuntu Server?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM