简体   繁体   English

我们如何配置IIS进行域名映射

[英]How can we configure IIS for domain name mapping

I would like to configure IIS server at (Windows server 2003) for domain name mapping. 我想在(Windows Server 2003)上为域名映射配置IIS服务器。

We have purchased domain name for one of our newly created website. 我们已经为新创建的网站之一购买了域名。

I would like to know how can I configure IIS so that anybody from outside world can reach website by typing URL. 我想知道如何配置IIS,以便来自外部的任何人都可以通过键入URL来访问网站。

As in: http://example.com/ should redirect to my the home page of my website. 如: http://example.com/ : http://example.com/应该重定向到我的网站主页。

I have made website in using ASP.NET and Oracle. 我已经使用ASP.NET和Oracle建立了网站。

How can I do this? 我怎样才能做到这一点?

You need to register your domain on a DNS server, which is different (though could be the same physical box) as your IIS server. 您需要在DNS服务器上注册域,该域与IIS服务器不同(尽管可能是相同的物理框)。 Long time since I've done this myself, as I use a hosting company for this kind of thing, but you will typically need at least two DNS Server IP addresses typically for a domain (primary and secondary DNS servers). 自从我自己完成此操作很长时间以来,因为我使用托管公司来进行这种事情,但是通常对于一个域(主要和辅助DNS服务器)通常至少需要两个DNS服务器IP地址。 There is a DNS Server for the windows server platform, but most people use hosting services to do this thing. Windows服务器平台上有一个DNS服务器,但是大多数人使用托管服务来执行此操作。

By the way, you might get a better response posting this kind of question on serverfault.com, as it's not really a developer question. 顺便说一句,将这种问题发布在serverfault.com上可能会得到更好的响应,因为它并不是真正的开发人员问题。

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

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